[INFO] fetching crate r-ex 1.0.1...
[INFO] checking r-ex-1.0.1 against master#158f00a1c5175648af6f6099b075f78d1d014a28 for pr-121251
[INFO] extracting crate r-ex 1.0.1 into /workspace/builds/worker-0-tc1/source
[INFO] validating manifest of crates.io crate r-ex 1.0.1 on toolchain 158f00a1c5175648af6f6099b075f78d1d014a28
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+158f00a1c5175648af6f6099b075f78d1d014a28" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] removed /workspace/builds/worker-0-tc1/source/.cargo/config.toml
[INFO] started tweaking crates.io crate r-ex 1.0.1
[INFO] finished tweaking crates.io crate r-ex 1.0.1
[INFO] tweaked toml for crates.io crate r-ex 1.0.1 written to /workspace/builds/worker-0-tc1/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+158f00a1c5175648af6f6099b075f78d1d014a28" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+158f00a1c5175648af6f6099b075f78d1d014a28" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+158f00a1c5175648af6f6099b075f78d1d014a28" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 2523057022ff1a4c5dc6480edc8b885e39ef6aea080ce7ffebac0f74175385e5
[INFO] running `Command { std: "docker" "start" "-a" "2523057022ff1a4c5dc6480edc8b885e39ef6aea080ce7ffebac0f74175385e5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "2523057022ff1a4c5dc6480edc8b885e39ef6aea080ce7ffebac0f74175385e5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2523057022ff1a4c5dc6480edc8b885e39ef6aea080ce7ffebac0f74175385e5", kill_on_drop: false }`
[INFO] [stdout] 2523057022ff1a4c5dc6480edc8b885e39ef6aea080ce7ffebac0f74175385e5
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+158f00a1c5175648af6f6099b075f78d1d014a28" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] f0731b77039cc5856dc480cc6e12f5bdd02f2cd39b3ff44fb755c3762d3f73e8
[INFO] running `Command { std: "docker" "start" "-a" "f0731b77039cc5856dc480cc6e12f5bdd02f2cd39b3ff44fb755c3762d3f73e8", kill_on_drop: false }`
[INFO] [stderr]     Checking r-ex v1.0.1 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `crate::prelude::*`
[INFO] [stdout]   --> src/carve.rs:37:9
[INFO] [stdout]    |
[INFO] [stdout] 37 |     use crate::prelude::*;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::prelude::*`
[INFO] [stdout]   --> src/copy_from.rs:14:9
[INFO] [stdout]    |
[INFO] [stdout] 14 |     use crate::prelude::*;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::prelude::*`
[INFO] [stdout]   --> src/endian.rs:56:9
[INFO] [stdout]    |
[INFO] [stdout] 56 |     use crate::prelude::*;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::prelude::*`
[INFO] [stdout]   --> src/from_arr.rs:25:9
[INFO] [stdout]    |
[INFO] [stdout] 25 |     use crate::prelude::*;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::prelude::*`
[INFO] [stdout]   --> src/from_ref.rs:27:9
[INFO] [stdout]    |
[INFO] [stdout] 27 |     use crate::prelude::*;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::prelude::*`
[INFO] [stdout]   --> src/splice.rs:24:9
[INFO] [stdout]    |
[INFO] [stdout] 24 |     use crate::prelude::*;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `carved` and `carved_mut` are never used
[INFO] [stdout]   --> src/carve.rs:19:8
[INFO] [stdout]    |
[INFO] [stdout] 18 | pub trait Carved<T: Sized + Copy> {
[INFO] [stdout]    |           ------ methods in this trait
[INFO] [stdout] 19 |     fn carved<const N: usize>(&self) -> Option<&[T; N]>;
[INFO] [stdout]    |        ^^^^^^
[INFO] [stdout] 20 |     fn carved_mut<const N: usize>(&mut self) -> Option<&mut [T; N]>;
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `copy_from` is never used
[INFO] [stdout]  --> src/copy_from.rs:2:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub trait CopyFrom<T: Sized + Copy, const N: usize> {
[INFO] [stdout]   |           -------- method in this trait
[INFO] [stdout] 2 |     fn copy_from(&mut self, src: &[T; N]);
[INFO] [stdout]   |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `as_be` and `as_le` are never used
[INFO] [stdout]  --> src/endian.rs:2:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub trait EndianAs<T> {
[INFO] [stdout]   |           -------- methods in this trait
[INFO] [stdout] 2 |     fn as_be(&self) -> T;
[INFO] [stdout]   |        ^^^^^
[INFO] [stdout] 3 |     fn as_le(&self) -> T;
[INFO] [stdout]   |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `EndianFromRef` is never used
[INFO] [stdout]  --> src/endian.rs:6:11
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub trait EndianFromRef<T, U> {
[INFO] [stdout]   |           ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `set_be` and `set_le` are never used
[INFO] [stdout]   --> src/endian.rs:12:8
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub trait EndianSet<T> {
[INFO] [stdout]    |           --------- methods in this trait
[INFO] [stdout] 12 |     fn set_be(&mut self, val: T);
[INFO] [stdout]    |        ^^^^^^
[INFO] [stdout] 13 |     fn set_le(&mut self, val: T);
[INFO] [stdout]    |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `FromArr` is never used
[INFO] [stdout]  --> src/from_arr.rs:1:11
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub trait FromArr<'a, T: 'a, const N: usize, U: 'a> {
[INFO] [stdout]   |           ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `FromArrMut` is never used
[INFO] [stdout]   --> src/from_arr.rs:12:11
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub trait FromArrMut<'a, T: 'a, const N: usize, U: 'a> {
[INFO] [stdout]    |           ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `from_ref` is never used
[INFO] [stdout]  --> src/from_ref.rs:2:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub trait FromRef<T>: Sized {
[INFO] [stdout]   |           ------- associated function in this trait
[INFO] [stdout] 2 |     fn from_ref(_: &T) -> Self;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `ref_into` is never used
[INFO] [stdout]   --> src/from_ref.rs:14:8
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub trait RefInto<T: Sized>: Clone {
[INFO] [stdout]    |           ------- method in this trait
[INFO] [stdout] 14 |     fn ref_into(&self) -> T;
[INFO] [stdout]    |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `splice` and `splice_mut` are never used
[INFO] [stdout]  --> src/splice.rs:2:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub trait Splice<T: Sized> {
[INFO] [stdout]   |           ------ methods in this trait
[INFO] [stdout] 2 |     fn splice<const N: usize>(&self) -> Option<(&[T; N], &[T])>;
[INFO] [stdout]   |        ^^^^^^
[INFO] [stdout] 3 |     fn splice_mut<const N: usize>(&mut self) -> Option<(&mut [T; N], &mut [T])>;
[INFO] [stdout]   |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 10 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `carve` found for array `[u8; 4]` in the current scope
[INFO] [stdout]   --> src/carve.rs:43:39
[INFO] [stdout]    |
[INFO] [stdout] 2  |     fn carve<const N: usize>(&self, offset: usize) -> Option<&[T; N]>;
[INFO] [stdout]    |        ----- the method is available for `[u8; 4]` here
[INFO] [stdout] ...
[INFO] [stdout] 43 |         assert_eq!(&[1, 2, 3, 4], buf.carve(0).unwrap());
[INFO] [stdout]    |                                       ^^^^^ method not found in `[u8; 4]`
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stdout]    |
[INFO] [stdout] 37 +     use crate::carve::Carve;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `carve` found for array `[u8; 4]` in the current scope
[INFO] [stdout]   --> src/carve.rs:44:33
[INFO] [stdout]    |
[INFO] [stdout] 2  |     fn carve<const N: usize>(&self, offset: usize) -> Option<&[T; N]>;
[INFO] [stdout]    |        ----- the method is available for `[u8; 4]` here
[INFO] [stdout] ...
[INFO] [stdout] 44 |         assert_eq!(&[3, 4], buf.carve(2).unwrap());
[INFO] [stdout]    |                                 ^^^^^ method not found in `[u8; 4]`
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stdout]    |
[INFO] [stdout] 37 +     use crate::carve::Carve;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `carve` found for array `[u8; 4]` in the current scope
[INFO] [stdout]   --> src/carve.rs:45:41
[INFO] [stdout]    |
[INFO] [stdout] 2  |     fn carve<const N: usize>(&self, offset: usize) -> Option<&[T; N]>;
[INFO] [stdout]    |        ----- the method is available for `[u8; 4]` here
[INFO] [stdout] ...
[INFO] [stdout] 45 |         assert_eq!(&[] as &[u8; 0], buf.carve(4).unwrap());
[INFO] [stdout]    |                                         ^^^^^ method not found in `[u8; 4]`
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stdout]    |
[INFO] [stdout] 37 +     use crate::carve::Carve;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `carve` found for array `[u8; 4]` in the current scope
[INFO] [stdout]   --> src/carve.rs:46:21
[INFO] [stdout]    |
[INFO] [stdout] 2  |     fn carve<const N: usize>(&self, offset: usize) -> Option<&[T; N]>;
[INFO] [stdout]    |        ----- the method is available for `[u8; 4]` here
[INFO] [stdout] ...
[INFO] [stdout] 46 |         assert!(buf.carve::<5>(0).is_none());
[INFO] [stdout]    |                     ^^^^^ method not found in `[u8; 4]`
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stdout]    |
[INFO] [stdout] 37 +     use crate::carve::Carve;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `carve_mut` found for array `[u8; 4]` in the current scope
[INFO] [stdout]   --> src/carve.rs:48:39
[INFO] [stdout]    |
[INFO] [stdout] 3  |     fn carve_mut<const N: usize>(&mut self, offset: usize) -> Option<&mut [T; N]>;
[INFO] [stdout]    |        --------- the method is available for `[u8; 4]` here
[INFO] [stdout] ...
[INFO] [stdout] 48 |         assert_eq!(&[1, 2, 3, 4], buf.carve_mut(0).unwrap());
[INFO] [stdout]    |                                       ^^^^^^^^^ method not found in `[u8; 4]`
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stdout]    |
[INFO] [stdout] 37 +     use crate::carve::Carve;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `carve_mut` found for array `[u8; 4]` in the current scope
[INFO] [stdout]   --> src/carve.rs:49:33
[INFO] [stdout]    |
[INFO] [stdout] 3  |     fn carve_mut<const N: usize>(&mut self, offset: usize) -> Option<&mut [T; N]>;
[INFO] [stdout]    |        --------- the method is available for `[u8; 4]` here
[INFO] [stdout] ...
[INFO] [stdout] 49 |         assert_eq!(&[3, 4], buf.carve_mut(2).unwrap());
[INFO] [stdout]    |                                 ^^^^^^^^^ method not found in `[u8; 4]`
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stdout]    |
[INFO] [stdout] 37 +     use crate::carve::Carve;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `carve_mut` found for array `[u8; 4]` in the current scope
[INFO] [stdout]   --> src/carve.rs:50:41
[INFO] [stdout]    |
[INFO] [stdout] 3  |     fn carve_mut<const N: usize>(&mut self, offset: usize) -> Option<&mut [T; N]>;
[INFO] [stdout]    |        --------- the method is available for `[u8; 4]` here
[INFO] [stdout] ...
[INFO] [stdout] 50 |         assert_eq!(&[] as &[u8; 0], buf.carve_mut(4).unwrap());
[INFO] [stdout]    |                                         ^^^^^^^^^ method not found in `[u8; 4]`
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stdout]    |
[INFO] [stdout] 37 +     use crate::carve::Carve;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `carve_mut` found for array `[u8; 4]` in the current scope
[INFO] [stdout]   --> src/carve.rs:51:21
[INFO] [stdout]    |
[INFO] [stdout] 3  |     fn carve_mut<const N: usize>(&mut self, offset: usize) -> Option<&mut [T; N]>;
[INFO] [stdout]    |        --------- the method is available for `[u8; 4]` here
[INFO] [stdout] ...
[INFO] [stdout] 51 |         assert!(buf.carve_mut::<5>(0).is_none());
[INFO] [stdout]    |                     ^^^^^^^^^ method not found in `[u8; 4]`
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stdout]    |
[INFO] [stdout] 37 +     use crate::carve::Carve;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `carved` found for array `[u8; 4]` in the current scope
[INFO] [stdout]   --> src/carve.rs:58:39
[INFO] [stdout]    |
[INFO] [stdout] 19 |     fn carved<const N: usize>(&self) -> Option<&[T; N]>;
[INFO] [stdout]    |        ------ the method is available for `[u8; 4]` here
[INFO] [stdout] ...
[INFO] [stdout] 58 |         assert_eq!(&[1, 2, 3, 4], buf.carved().unwrap());
[INFO] [stdout]    |                                       ^^^^^^ method not found in `[u8; 4]`
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stdout]    |
[INFO] [stdout] 37 +     use crate::carve::Carved;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `carved` found for array `[u8; 4]` in the current scope
[INFO] [stdout]   --> src/carve.rs:59:33
[INFO] [stdout]    |
[INFO] [stdout] 19 |     fn carved<const N: usize>(&self) -> Option<&[T; N]>;
[INFO] [stdout]    |        ------ the method is available for `[u8; 4]` here
[INFO] [stdout] ...
[INFO] [stdout] 59 |         assert_eq!(&[1, 2], buf.carved().unwrap());
[INFO] [stdout]    |                                 ^^^^^^ method not found in `[u8; 4]`
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stdout]    |
[INFO] [stdout] 37 +     use crate::carve::Carved;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `carved` found for array `[u8; 4]` in the current scope
[INFO] [stdout]   --> src/carve.rs:60:41
[INFO] [stdout]    |
[INFO] [stdout] 19 |     fn carved<const N: usize>(&self) -> Option<&[T; N]>;
[INFO] [stdout]    |        ------ the method is available for `[u8; 4]` here
[INFO] [stdout] ...
[INFO] [stdout] 60 |         assert_eq!(&[] as &[u8; 0], buf.carved().unwrap());
[INFO] [stdout]    |                                         ^^^^^^ method not found in `[u8; 4]`
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stdout]    |
[INFO] [stdout] 37 +     use crate::carve::Carved;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `carved` found for array `[u8; 4]` in the current scope
[INFO] [stdout]   --> src/carve.rs:61:21
[INFO] [stdout]    |
[INFO] [stdout] 19 |     fn carved<const N: usize>(&self) -> Option<&[T; N]>;
[INFO] [stdout]    |        ------ the method is available for `[u8; 4]` here
[INFO] [stdout] ...
[INFO] [stdout] 61 |         assert!(buf.carved::<5>().is_none());
[INFO] [stdout]    |                     ^^^^^^ method not found in `[u8; 4]`
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stdout]    |
[INFO] [stdout] 37 +     use crate::carve::Carved;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `carved_mut` found for array `[u8; 4]` in the current scope
[INFO] [stdout]   --> src/carve.rs:63:39
[INFO] [stdout]    |
[INFO] [stdout] 20 |     fn carved_mut<const N: usize>(&mut self) -> Option<&mut [T; N]>;
[INFO] [stdout]    |        ---------- the method is available for `[u8; 4]` here
[INFO] [stdout] ...
[INFO] [stdout] 63 |         assert_eq!(&[1, 2, 3, 4], buf.carved_mut().unwrap());
[INFO] [stdout]    |                                       ^^^^^^^^^^ method not found in `[u8; 4]`
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stdout]    |
[INFO] [stdout] 37 +     use crate::carve::Carved;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `carved_mut` found for array `[u8; 4]` in the current scope
[INFO] [stdout]   --> src/carve.rs:64:33
[INFO] [stdout]    |
[INFO] [stdout] 20 |     fn carved_mut<const N: usize>(&mut self) -> Option<&mut [T; N]>;
[INFO] [stdout]    |        ---------- the method is available for `[u8; 4]` here
[INFO] [stdout] ...
[INFO] [stdout] 64 |         assert_eq!(&[1, 2], buf.carved_mut().unwrap());
[INFO] [stdout]    |                                 ^^^^^^^^^^ method not found in `[u8; 4]`
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stdout]    |
[INFO] [stdout] 37 +     use crate::carve::Carved;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `carved_mut` found for array `[u8; 4]` in the current scope
[INFO] [stdout]   --> src/carve.rs:65:41
[INFO] [stdout]    |
[INFO] [stdout] 20 |     fn carved_mut<const N: usize>(&mut self) -> Option<&mut [T; N]>;
[INFO] [stdout]    |        ---------- the method is available for `[u8; 4]` here
[INFO] [stdout] ...
[INFO] [stdout] 65 |         assert_eq!(&[] as &[u8; 0], buf.carved_mut().unwrap());
[INFO] [stdout]    |                                         ^^^^^^^^^^ method not found in `[u8; 4]`
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stdout]    |
[INFO] [stdout] 37 +     use crate::carve::Carved;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `carved_mut` found for array `[u8; 4]` in the current scope
[INFO] [stdout]   --> src/carve.rs:66:21
[INFO] [stdout]    |
[INFO] [stdout] 20 |     fn carved_mut<const N: usize>(&mut self) -> Option<&mut [T; N]>;
[INFO] [stdout]    |        ---------- the method is available for `[u8; 4]` here
[INFO] [stdout] ...
[INFO] [stdout] 66 |         assert!(buf.carved_mut::<5>().is_none());
[INFO] [stdout]    |                     ^^^^^^^^^^ method not found in `[u8; 4]`
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stdout]    |
[INFO] [stdout] 37 +     use crate::carve::Carved;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `copy_from` found for array `[u8; 4]` in the current scope
[INFO] [stdout]   --> src/copy_from.rs:21:13
[INFO] [stdout]    |
[INFO] [stdout] 2  |     fn copy_from(&mut self, src: &[T; N]);
[INFO] [stdout]    |        --------- the method is available for `[u8; 4]` here
[INFO] [stdout] ...
[INFO] [stdout] 21 |         buf.copy_from(&val1);
[INFO] [stdout]    |             ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stdout]    |
[INFO] [stdout] 14 +     use crate::copy_from::CopyFrom;
[INFO] [stdout]    |
[INFO] [stdout] help: there is a method with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 21 |         buf.copy_from_slice(&val1);
[INFO] [stdout]    |             ~~~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `set_be` found for array `[u8; 2]` in the current scope
[INFO] [stdout]   --> src/endian.rs:65:21
[INFO] [stdout]    |
[INFO] [stdout] 12 |     fn set_be(&mut self, val: T);
[INFO] [stdout]    |        ------ the method is available for `[u8; 2]` here
[INFO] [stdout] ...
[INFO] [stdout] 65 |                 buf.set_be(1 as $typ);
[INFO] [stdout]    |                     ^^^^^^ method not found in `[u8; 2]`
[INFO] [stdout] ...
[INFO] [stdout] 80 |     test_endian_traits!(u16, u16);
[INFO] [stdout]    |     ----------------------------- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout]    = note: this error originates in the macro `test_endian_traits` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stdout]    |
[INFO] [stdout] 56 +     use crate::endian::EndianSet;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `as_be` found for array `[u8; 2]` in the current scope
[INFO] [stdout]   --> src/endian.rs:67:45
[INFO] [stdout]    |
[INFO] [stdout] 2  |     fn as_be(&self) -> T;
[INFO] [stdout]    |        ----- the method is available for `[u8; 2]` here
[INFO] [stdout] ...
[INFO] [stdout] 67 |                 assert_eq!((1 as $typ), buf.as_be());
[INFO] [stdout]    |                                             ^^^^^ method not found in `[u8; 2]`
[INFO] [stdout] ...
[INFO] [stdout] 80 |     test_endian_traits!(u16, u16);
[INFO] [stdout]    |     ----------------------------- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout]    = note: this error originates in the macro `test_endian_traits` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stdout]    |
[INFO] [stdout] 56 +     use crate::endian::EndianAs;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `from_be_ref` found for type `u16` in the current scope
[INFO] [stdout]   --> src/endian.rs:68:49
[INFO] [stdout]    |
[INFO] [stdout] 68 |                 assert_eq!((1 as $typ), <$typ>::from_be_ref(&buf));
[INFO] [stdout]    |                                                 ^^^^^^^^^^^ function or associated item not found in `u16`
[INFO] [stdout] ...
[INFO] [stdout] 80 |     test_endian_traits!(u16, u16);
[INFO] [stdout]    |     ----------------------------- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout]    = note: this error originates in the macro `test_endian_traits` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stdout]    |
[INFO] [stdout] 56 +     use crate::endian::EndianFromRef;
[INFO] [stdout]    |
[INFO] [stdout] help: there is an associated function with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 68 |                 assert_eq!((1 as $typ), <$typ>::from_be(&buf));
[INFO] [stdout]    |                                                 ~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `from_be_ref` found for type `u16` in the current scope
[INFO] [stdout]   --> src/endian.rs:69:49
[INFO] [stdout]    |
[INFO] [stdout] 69 |                 assert_eq!((1 as $typ), <$typ>::from_be_ref(&mut buf));
[INFO] [stdout]    |                                                 ^^^^^^^^^^^ function or associated item not found in `u16`
[INFO] [stdout] ...
[INFO] [stdout] 80 |     test_endian_traits!(u16, u16);
[INFO] [stdout]    |     ----------------------------- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout]    = note: this error originates in the macro `test_endian_traits` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stdout]    |
[INFO] [stdout] 56 +     use crate::endian::EndianFromRef;
[INFO] [stdout]    |
[INFO] [stdout] help: there is an associated function with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 69 |                 assert_eq!((1 as $typ), <$typ>::from_be(&mut buf));
[INFO] [stdout]    |                                                 ~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `set_le` found for array `[u8; 2]` in the current scope
[INFO] [stdout]   --> src/endian.rs:71:21
[INFO] [stdout]    |
[INFO] [stdout] 13 |     fn set_le(&mut self, val: T);
[INFO] [stdout]    |        ------ the method is available for `[u8; 2]` here
[INFO] [stdout] ...
[INFO] [stdout] 71 |                 buf.set_le(1 as $typ);
[INFO] [stdout]    |                     ^^^^^^ method not found in `[u8; 2]`
[INFO] [stdout] ...
[INFO] [stdout] 80 |     test_endian_traits!(u16, u16);
[INFO] [stdout]    |     ----------------------------- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout]    = note: this error originates in the macro `test_endian_traits` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stdout]    |
[INFO] [stdout] 56 +     use crate::endian::EndianSet;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `as_le` found for array `[u8; 2]` in the current scope
[INFO] [stdout]   --> src/endian.rs:73:45
[INFO] [stdout]    |
[INFO] [stdout] 3  |     fn as_le(&self) -> T;
[INFO] [stdout]    |        ----- the method is available for `[u8; 2]` here
[INFO] [stdout] ...
[INFO] [stdout] 73 |                 assert_eq!((1 as $typ), buf.as_le());
[INFO] [stdout]    |                                             ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 80 |     test_endian_traits!(u16, u16);
[INFO] [stdout]    |     ----------------------------- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout]    = note: this error originates in the macro `test_endian_traits` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stdout]    |
[INFO] [stdout] 56 +     use crate::endian::EndianAs;
[INFO] [stdout]    |
[INFO] [stdout] help: there is a method with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 73 |                 assert_eq!((1 as $typ), buf.as_slice());
[INFO] [stdout]    |                                             ~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `from_le_ref` found for type `u16` in the current scope
[INFO] [stdout]   --> src/endian.rs:74:49
[INFO] [stdout]    |
[INFO] [stdout] 74 |                 assert_eq!((1 as $typ), <$typ>::from_le_ref(&buf));
[INFO] [stdout]    |                                                 ^^^^^^^^^^^ function or associated item not found in `u16`
[INFO] [stdout] ...
[INFO] [stdout] 80 |     test_endian_traits!(u16, u16);
[INFO] [stdout]    |     ----------------------------- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout]    = note: this error originates in the macro `test_endian_traits` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stdout]    |
[INFO] [stdout] 56 +     use crate::endian::EndianFromRef;
[INFO] [stdout]    |
[INFO] [stdout] help: there is an associated function with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 74 |                 assert_eq!((1 as $typ), <$typ>::from_le(&buf));
[INFO] [stdout]    |                                                 ~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `from_le_ref` found for type `u16` in the current scope
[INFO] [stdout]   --> src/endian.rs:75:49
[INFO] [stdout]    |
[INFO] [stdout] 75 |                 assert_eq!((1 as $typ), <$typ>::from_le_ref(&mut buf));
[INFO] [stdout]    |                                                 ^^^^^^^^^^^ function or associated item not found in `u16`
[INFO] [stdout] ...
[INFO] [stdout] 80 |     test_endian_traits!(u16, u16);
[INFO] [stdout]    |     ----------------------------- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout]    = note: this error originates in the macro `test_endian_traits` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stdout]    |
[INFO] [stdout] 56 +     use crate::endian::EndianFromRef;
[INFO] [stdout]    |
[INFO] [stdout] help: there is an associated function with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 75 |                 assert_eq!((1 as $typ), <$typ>::from_le(&mut buf));
[INFO] [stdout]    |                                                 ~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `set_be` found for array `[u8; 4]` in the current scope
[INFO] [stdout]   --> src/endian.rs:65:21
[INFO] [stdout]    |
[INFO] [stdout] 12 |     fn set_be(&mut self, val: T);
[INFO] [stdout]    |        ------ the method is available for `[u8; 4]` here
[INFO] [stdout] ...
[INFO] [stdout] 65 |                 buf.set_be(1 as $typ);
[INFO] [stdout]    |                     ^^^^^^ method not found in `[u8; 4]`
[INFO] [stdout] ...
[INFO] [stdout] 81 |     test_endian_traits!(u32, u32);
[INFO] [stdout]    |     ----------------------------- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout]    = note: this error originates in the macro `test_endian_traits` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stdout]    |
[INFO] [stdout] 56 +     use crate::endian::EndianSet;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `as_be` found for array `[u8; 4]` in the current scope
[INFO] [stdout]   --> src/endian.rs:67:45
[INFO] [stdout]    |
[INFO] [stdout] 2  |     fn as_be(&self) -> T;
[INFO] [stdout]    |        ----- the method is available for `[u8; 4]` here
[INFO] [stdout] ...
[INFO] [stdout] 67 |                 assert_eq!((1 as $typ), buf.as_be());
[INFO] [stdout]    |                                             ^^^^^ method not found in `[u8; 4]`
[INFO] [stdout] ...
[INFO] [stdout] 81 |     test_endian_traits!(u32, u32);
[INFO] [stdout]    |     ----------------------------- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout]    = note: this error originates in the macro `test_endian_traits` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stdout]    |
[INFO] [stdout] 56 +     use crate::endian::EndianAs;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `from_be_ref` found for type `u32` in the current scope
[INFO] [stdout]   --> src/endian.rs:68:49
[INFO] [stdout]    |
[INFO] [stdout] 68 |                 assert_eq!((1 as $typ), <$typ>::from_be_ref(&buf));
[INFO] [stdout]    |                                                 ^^^^^^^^^^^ function or associated item not found in `u32`
[INFO] [stdout] ...
[INFO] [stdout] 81 |     test_endian_traits!(u32, u32);
[INFO] [stdout]    |     ----------------------------- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout]    = note: this error originates in the macro `test_endian_traits` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stdout]    |
[INFO] [stdout] 56 +     use crate::endian::EndianFromRef;
[INFO] [stdout]    |
[INFO] [stdout] help: there is an associated function with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 68 |                 assert_eq!((1 as $typ), <$typ>::from_be(&buf));
[INFO] [stdout]    |                                                 ~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `from_be_ref` found for type `u32` in the current scope
[INFO] [stdout]   --> src/endian.rs:69:49
[INFO] [stdout]    |
[INFO] [stdout] 69 |                 assert_eq!((1 as $typ), <$typ>::from_be_ref(&mut buf));
[INFO] [stdout]    |                                                 ^^^^^^^^^^^ function or associated item not found in `u32`
[INFO] [stdout] ...
[INFO] [stdout] 81 |     test_endian_traits!(u32, u32);
[INFO] [stdout]    |     ----------------------------- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout]    = note: this error originates in the macro `test_endian_traits` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stdout]    |
[INFO] [stdout] 56 +     use crate::endian::EndianFromRef;
[INFO] [stdout]    |
[INFO] [stdout] help: there is an associated function with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 69 |                 assert_eq!((1 as $typ), <$typ>::from_be(&mut buf));
[INFO] [stdout]    |                                                 ~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `set_le` found for array `[u8; 4]` in the current scope
[INFO] [stdout]   --> src/endian.rs:71:21
[INFO] [stdout]    |
[INFO] [stdout] 13 |     fn set_le(&mut self, val: T);
[INFO] [stdout]    |        ------ the method is available for `[u8; 4]` here
[INFO] [stdout] ...
[INFO] [stdout] 71 |                 buf.set_le(1 as $typ);
[INFO] [stdout]    |                     ^^^^^^ method not found in `[u8; 4]`
[INFO] [stdout] ...
[INFO] [stdout] 81 |     test_endian_traits!(u32, u32);
[INFO] [stdout]    |     ----------------------------- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout]    = note: this error originates in the macro `test_endian_traits` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stdout]    |
[INFO] [stdout] 56 +     use crate::endian::EndianSet;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `as_le` found for array `[u8; 4]` in the current scope
[INFO] [stdout]   --> src/endian.rs:73:45
[INFO] [stdout]    |
[INFO] [stdout] 3  |     fn as_le(&self) -> T;
[INFO] [stdout]    |        ----- the method is available for `[u8; 4]` here
[INFO] [stdout] ...
[INFO] [stdout] 73 |                 assert_eq!((1 as $typ), buf.as_le());
[INFO] [stdout]    |                                             ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 81 |     test_endian_traits!(u32, u32);
[INFO] [stdout]    |     ----------------------------- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout]    = note: this error originates in the macro `test_endian_traits` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stdout]    |
[INFO] [stdout] 56 +     use crate::endian::EndianAs;
[INFO] [stdout]    |
[INFO] [stdout] help: there is a method with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 73 |                 assert_eq!((1 as $typ), buf.as_slice());
[INFO] [stdout]    |                                             ~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `from_le_ref` found for type `u32` in the current scope
[INFO] [stdout]   --> src/endian.rs:74:49
[INFO] [stdout]    |
[INFO] [stdout] 74 |                 assert_eq!((1 as $typ), <$typ>::from_le_ref(&buf));
[INFO] [stdout]    |                                                 ^^^^^^^^^^^ function or associated item not found in `u32`
[INFO] [stdout] ...
[INFO] [stdout] 81 |     test_endian_traits!(u32, u32);
[INFO] [stdout]    |     ----------------------------- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout]    = note: this error originates in the macro `test_endian_traits` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stdout]    |
[INFO] [stdout] 56 +     use crate::endian::EndianFromRef;
[INFO] [stdout]    |
[INFO] [stdout] help: there is an associated function with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 74 |                 assert_eq!((1 as $typ), <$typ>::from_le(&buf));
[INFO] [stdout]    |                                                 ~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `from_le_ref` found for type `u32` in the current scope
[INFO] [stdout]   --> src/endian.rs:75:49
[INFO] [stdout]    |
[INFO] [stdout] 75 |                 assert_eq!((1 as $typ), <$typ>::from_le_ref(&mut buf));
[INFO] [stdout]    |                                                 ^^^^^^^^^^^ function or associated item not found in `u32`
[INFO] [stdout] ...
[INFO] [stdout] 81 |     test_endian_traits!(u32, u32);
[INFO] [stdout]    |     ----------------------------- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout]    = note: this error originates in the macro `test_endian_traits` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stdout]    |
[INFO] [stdout] 56 +     use crate::endian::EndianFromRef;
[INFO] [stdout]    |
[INFO] [stdout] help: there is an associated function with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 75 |                 assert_eq!((1 as $typ), <$typ>::from_le(&mut buf));
[INFO] [stdout]    |                                                 ~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `set_be` found for array `[u8; 8]` in the current scope
[INFO] [stdout]   --> src/endian.rs:65:21
[INFO] [stdout]    |
[INFO] [stdout] 12 |     fn set_be(&mut self, val: T);
[INFO] [stdout]    |        ------ the method is available for `[u8; 8]` here
[INFO] [stdout] ...
[INFO] [stdout] 65 |                 buf.set_be(1 as $typ);
[INFO] [stdout]    |                     ^^^^^^ method not found in `[u8; 8]`
[INFO] [stdout] ...
[INFO] [stdout] 82 |     test_endian_traits!(u64, u64);
[INFO] [stdout]    |     ----------------------------- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout]    = note: this error originates in the macro `test_endian_traits` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stdout]    |
[INFO] [stdout] 56 +     use crate::endian::EndianSet;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `as_be` found for array `[u8; 8]` in the current scope
[INFO] [stdout]   --> src/endian.rs:67:45
[INFO] [stdout]    |
[INFO] [stdout] 2  |     fn as_be(&self) -> T;
[INFO] [stdout]    |        ----- the method is available for `[u8; 8]` here
[INFO] [stdout] ...
[INFO] [stdout] 67 |                 assert_eq!((1 as $typ), buf.as_be());
[INFO] [stdout]    |                                             ^^^^^ method not found in `[u8; 8]`
[INFO] [stdout] ...
[INFO] [stdout] 82 |     test_endian_traits!(u64, u64);
[INFO] [stdout]    |     ----------------------------- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout]    = note: this error originates in the macro `test_endian_traits` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stdout]    |
[INFO] [stdout] 56 +     use crate::endian::EndianAs;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `from_be_ref` found for type `u64` in the current scope
[INFO] [stdout]   --> src/endian.rs:68:49
[INFO] [stdout]    |
[INFO] [stdout] 68 |                 assert_eq!((1 as $typ), <$typ>::from_be_ref(&buf));
[INFO] [stdout]    |                                                 ^^^^^^^^^^^ function or associated item not found in `u64`
[INFO] [stdout] ...
[INFO] [stdout] 82 |     test_endian_traits!(u64, u64);
[INFO] [stdout]    |     ----------------------------- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout]    = note: this error originates in the macro `test_endian_traits` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stdout]    |
[INFO] [stdout] 56 +     use crate::endian::EndianFromRef;
[INFO] [stdout]    |
[INFO] [stdout] help: there is an associated function with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 68 |                 assert_eq!((1 as $typ), <$typ>::from_be(&buf));
[INFO] [stdout]    |                                                 ~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `from_be_ref` found for type `u64` in the current scope
[INFO] [stdout]   --> src/endian.rs:69:49
[INFO] [stdout]    |
[INFO] [stdout] 69 |                 assert_eq!((1 as $typ), <$typ>::from_be_ref(&mut buf));
[INFO] [stdout]    |                                                 ^^^^^^^^^^^ function or associated item not found in `u64`
[INFO] [stdout] ...
[INFO] [stdout] 82 |     test_endian_traits!(u64, u64);
[INFO] [stdout]    |     ----------------------------- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout]    = note: this error originates in the macro `test_endian_traits` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stdout]    |
[INFO] [stdout] 56 +     use crate::endian::EndianFromRef;
[INFO] [stdout]    |
[INFO] [stdout] help: there is an associated function with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 69 |                 assert_eq!((1 as $typ), <$typ>::from_be(&mut buf));
[INFO] [stdout]    |                                                 ~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `set_le` found for array `[u8; 8]` in the current scope
[INFO] [stdout]   --> src/endian.rs:71:21
[INFO] [stdout]    |
[INFO] [stdout] 13 |     fn set_le(&mut self, val: T);
[INFO] [stdout]    |        ------ the method is available for `[u8; 8]` here
[INFO] [stdout] ...
[INFO] [stdout] 71 |                 buf.set_le(1 as $typ);
[INFO] [stdout]    |                     ^^^^^^ method not found in `[u8; 8]`
[INFO] [stdout] ...
[INFO] [stdout] 82 |     test_endian_traits!(u64, u64);
[INFO] [stdout]    |     ----------------------------- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout]    = note: this error originates in the macro `test_endian_traits` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stdout]    |
[INFO] [stdout] 56 +     use crate::endian::EndianSet;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `as_le` found for array `[u8; 8]` in the current scope
[INFO] [stdout]   --> src/endian.rs:73:45
[INFO] [stdout]    |
[INFO] [stdout] 3  |     fn as_le(&self) -> T;
[INFO] [stdout]    |        ----- the method is available for `[u8; 8]` here
[INFO] [stdout] ...
[INFO] [stdout] 73 |                 assert_eq!((1 as $typ), buf.as_le());
[INFO] [stdout]    |                                             ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 82 |     test_endian_traits!(u64, u64);
[INFO] [stdout]    |     ----------------------------- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout]    = note: this error originates in the macro `test_endian_traits` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stdout]    |
[INFO] [stdout] 56 +     use crate::endian::EndianAs;
[INFO] [stdout]    |
[INFO] [stdout] help: there is a method with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 73 |                 assert_eq!((1 as $typ), buf.as_slice());
[INFO] [stdout]    |                                             ~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `from_le_ref` found for type `u64` in the current scope
[INFO] [stdout]   --> src/endian.rs:74:49
[INFO] [stdout]    |
[INFO] [stdout] 74 |                 assert_eq!((1 as $typ), <$typ>::from_le_ref(&buf));
[INFO] [stdout]    |                                                 ^^^^^^^^^^^ function or associated item not found in `u64`
[INFO] [stdout] ...
[INFO] [stdout] 82 |     test_endian_traits!(u64, u64);
[INFO] [stdout]    |     ----------------------------- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout]    = note: this error originates in the macro `test_endian_traits` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stdout]    |
[INFO] [stdout] 56 +     use crate::endian::EndianFromRef;
[INFO] [stdout]    |
[INFO] [stdout] help: there is an associated function with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 74 |                 assert_eq!((1 as $typ), <$typ>::from_le(&buf));
[INFO] [stdout]    |                                                 ~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `from_le_ref` found for type `u64` in the current scope
[INFO] [stdout]   --> src/endian.rs:75:49
[INFO] [stdout]    |
[INFO] [stdout] 75 |                 assert_eq!((1 as $typ), <$typ>::from_le_ref(&mut buf));
[INFO] [stdout]    |                                                 ^^^^^^^^^^^ function or associated item not found in `u64`
[INFO] [stdout] ...
[INFO] [stdout] 82 |     test_endian_traits!(u64, u64);
[INFO] [stdout]    |     ----------------------------- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout]    = note: this error originates in the macro `test_endian_traits` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stdout]    |
[INFO] [stdout] 56 +     use crate::endian::EndianFromRef;
[INFO] [stdout]    |
[INFO] [stdout] help: there is an associated function with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 75 |                 assert_eq!((1 as $typ), <$typ>::from_le(&mut buf));
[INFO] [stdout]    |                                                 ~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `set_be` found for array `[u8; 16]` in the current scope
[INFO] [stdout]   --> src/endian.rs:65:21
[INFO] [stdout]    |
[INFO] [stdout] 12 |     fn set_be(&mut self, val: T);
[INFO] [stdout]    |        ------ the method is available for `[u8; 16]` here
[INFO] [stdout] ...
[INFO] [stdout] 65 |                 buf.set_be(1 as $typ);
[INFO] [stdout]    |                     ^^^^^^ method not found in `[u8; 16]`
[INFO] [stdout] ...
[INFO] [stdout] 83 |     test_endian_traits!(u128, u128);
[INFO] [stdout]    |     ------------------------------- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout]    = note: this error originates in the macro `test_endian_traits` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stdout]    |
[INFO] [stdout] 56 +     use crate::endian::EndianSet;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `as_be` found for array `[u8; 16]` in the current scope
[INFO] [stdout]   --> src/endian.rs:67:45
[INFO] [stdout]    |
[INFO] [stdout] 2  |     fn as_be(&self) -> T;
[INFO] [stdout]    |        ----- the method is available for `[u8; 16]` here
[INFO] [stdout] ...
[INFO] [stdout] 67 |                 assert_eq!((1 as $typ), buf.as_be());
[INFO] [stdout]    |                                             ^^^^^ method not found in `[u8; 16]`
[INFO] [stdout] ...
[INFO] [stdout] 83 |     test_endian_traits!(u128, u128);
[INFO] [stdout]    |     ------------------------------- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout]    = note: this error originates in the macro `test_endian_traits` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stdout]    |
[INFO] [stdout] 56 +     use crate::endian::EndianAs;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `from_be_ref` found for type `u128` in the current scope
[INFO] [stdout]   --> src/endian.rs:68:49
[INFO] [stdout]    |
[INFO] [stdout] 68 |                 assert_eq!((1 as $typ), <$typ>::from_be_ref(&buf));
[INFO] [stdout]    |                                                 ^^^^^^^^^^^ function or associated item not found in `u128`
[INFO] [stdout] ...
[INFO] [stdout] 83 |     test_endian_traits!(u128, u128);
[INFO] [stdout]    |     ------------------------------- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout]    = note: this error originates in the macro `test_endian_traits` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stdout]    |
[INFO] [stdout] 56 +     use crate::endian::EndianFromRef;
[INFO] [stdout]    |
[INFO] [stdout] help: there is an associated function with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 68 |                 assert_eq!((1 as $typ), <$typ>::from_be(&buf));
[INFO] [stdout]    |                                                 ~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `from_be_ref` found for type `u128` in the current scope
[INFO] [stdout]   --> src/endian.rs:69:49
[INFO] [stdout]    |
[INFO] [stdout] 69 |                 assert_eq!((1 as $typ), <$typ>::from_be_ref(&mut buf));
[INFO] [stdout]    |                                                 ^^^^^^^^^^^ function or associated item not found in `u128`
[INFO] [stdout] ...
[INFO] [stdout] 83 |     test_endian_traits!(u128, u128);
[INFO] [stdout]    |     ------------------------------- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout]    = note: this error originates in the macro `test_endian_traits` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stdout]    |
[INFO] [stdout] 56 +     use crate::endian::EndianFromRef;
[INFO] [stdout]    |
[INFO] [stdout] help: there is an associated function with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 69 |                 assert_eq!((1 as $typ), <$typ>::from_be(&mut buf));
[INFO] [stdout]    |                                                 ~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `set_le` found for array `[u8; 16]` in the current scope
[INFO] [stdout]   --> src/endian.rs:71:21
[INFO] [stdout]    |
[INFO] [stdout] 13 |     fn set_le(&mut self, val: T);
[INFO] [stdout]    |        ------ the method is available for `[u8; 16]` here
[INFO] [stdout] ...
[INFO] [stdout] 71 |                 buf.set_le(1 as $typ);
[INFO] [stdout]    |                     ^^^^^^ method not found in `[u8; 16]`
[INFO] [stdout] ...
[INFO] [stdout] 83 |     test_endian_traits!(u128, u128);
[INFO] [stdout]    |     ------------------------------- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout]    = note: this error originates in the macro `test_endian_traits` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stdout]    |
[INFO] [stdout] 56 +     use crate::endian::EndianSet;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `as_le` found for array `[u8; 16]` in the current scope
[INFO] [stdout]   --> src/endian.rs:73:45
[INFO] [stdout]    |
[INFO] [stdout] 3  |     fn as_le(&self) -> T;
[INFO] [stdout]    |        ----- the method is available for `[u8; 16]` here
[INFO] [stdout] ...
[INFO] [stdout] 73 |                 assert_eq!((1 as $typ), buf.as_le());
[INFO] [stdout]    |                                             ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 83 |     test_endian_traits!(u128, u128);
[INFO] [stdout]    |     ------------------------------- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout]    = note: this error originates in the macro `test_endian_traits` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stdout]    |
[INFO] [stdout] 56 +     use crate::endian::EndianAs;
[INFO] [stdout]    |
[INFO] [stdout] help: there is a method with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 73 |                 assert_eq!((1 as $typ), buf.as_slice());
[INFO] [stdout]    |                                             ~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `from_le_ref` found for type `u128` in the current scope
[INFO] [stdout]   --> src/endian.rs:74:49
[INFO] [stdout]    |
[INFO] [stdout] 74 |                 assert_eq!((1 as $typ), <$typ>::from_le_ref(&buf));
[INFO] [stdout]    |                                                 ^^^^^^^^^^^ function or associated item not found in `u128`
[INFO] [stdout] ...
[INFO] [stdout] 83 |     test_endian_traits!(u128, u128);
[INFO] [stdout]    |     ------------------------------- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout]    = note: this error originates in the macro `test_endian_traits` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stdout]    |
[INFO] [stdout] 56 +     use crate::endian::EndianFromRef;
[INFO] [stdout]    |
[INFO] [stdout] help: there is an associated function with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 74 |                 assert_eq!((1 as $typ), <$typ>::from_le(&buf));
[INFO] [stdout]    |                                                 ~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `from_le_ref` found for type `u128` in the current scope
[INFO] [stdout]   --> src/endian.rs:75:49
[INFO] [stdout]    |
[INFO] [stdout] 75 |                 assert_eq!((1 as $typ), <$typ>::from_le_ref(&mut buf));
[INFO] [stdout]    |                                                 ^^^^^^^^^^^ function or associated item not found in `u128`
[INFO] [stdout] ...
[INFO] [stdout] 83 |     test_endian_traits!(u128, u128);
[INFO] [stdout]    |     ------------------------------- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout]    = note: this error originates in the macro `test_endian_traits` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stdout]    |
[INFO] [stdout] 56 +     use crate::endian::EndianFromRef;
[INFO] [stdout]    |
[INFO] [stdout] help: there is an associated function with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 75 |                 assert_eq!((1 as $typ), <$typ>::from_le(&mut buf));
[INFO] [stdout]    |                                                 ~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `set_be` found for array `[u8; 2]` in the current scope
[INFO] [stdout]   --> src/endian.rs:65:21
[INFO] [stdout]    |
[INFO] [stdout] 12 |     fn set_be(&mut self, val: T);
[INFO] [stdout]    |        ------ the method is available for `[u8; 2]` here
[INFO] [stdout] ...
[INFO] [stdout] 65 |                 buf.set_be(1 as $typ);
[INFO] [stdout]    |                     ^^^^^^ method not found in `[u8; 2]`
[INFO] [stdout] ...
[INFO] [stdout] 85 |     test_endian_traits!(i16, i16);
[INFO] [stdout]    |     ----------------------------- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout]    = note: this error originates in the macro `test_endian_traits` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stdout]    |
[INFO] [stdout] 56 +     use crate::endian::EndianSet;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `as_be` found for array `[u8; 2]` in the current scope
[INFO] [stdout]   --> src/endian.rs:67:45
[INFO] [stdout]    |
[INFO] [stdout] 2  |     fn as_be(&self) -> T;
[INFO] [stdout]    |        ----- the method is available for `[u8; 2]` here
[INFO] [stdout] ...
[INFO] [stdout] 67 |                 assert_eq!((1 as $typ), buf.as_be());
[INFO] [stdout]    |                                             ^^^^^ method not found in `[u8; 2]`
[INFO] [stdout] ...
[INFO] [stdout] 85 |     test_endian_traits!(i16, i16);
[INFO] [stdout]    |     ----------------------------- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout]    = note: this error originates in the macro `test_endian_traits` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stdout]    |
[INFO] [stdout] 56 +     use crate::endian::EndianAs;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `from_be_ref` found for type `i16` in the current scope
[INFO] [stdout]   --> src/endian.rs:68:49
[INFO] [stdout]    |
[INFO] [stdout] 68 |                 assert_eq!((1 as $typ), <$typ>::from_be_ref(&buf));
[INFO] [stdout]    |                                                 ^^^^^^^^^^^ function or associated item not found in `i16`
[INFO] [stdout] ...
[INFO] [stdout] 85 |     test_endian_traits!(i16, i16);
[INFO] [stdout]    |     ----------------------------- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout]    = note: this error originates in the macro `test_endian_traits` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stdout]    |
[INFO] [stdout] 56 +     use crate::endian::EndianFromRef;
[INFO] [stdout]    |
[INFO] [stdout] help: there is an associated function with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 68 |                 assert_eq!((1 as $typ), <$typ>::from_be(&buf));
[INFO] [stdout]    |                                                 ~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `from_be_ref` found for type `i16` in the current scope
[INFO] [stdout]   --> src/endian.rs:69:49
[INFO] [stdout]    |
[INFO] [stdout] 69 |                 assert_eq!((1 as $typ), <$typ>::from_be_ref(&mut buf));
[INFO] [stdout]    |                                                 ^^^^^^^^^^^ function or associated item not found in `i16`
[INFO] [stdout] ...
[INFO] [stdout] 85 |     test_endian_traits!(i16, i16);
[INFO] [stdout]    |     ----------------------------- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout]    = note: this error originates in the macro `test_endian_traits` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stdout]    |
[INFO] [stdout] 56 +     use crate::endian::EndianFromRef;
[INFO] [stdout]    |
[INFO] [stdout] help: there is an associated function with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 69 |                 assert_eq!((1 as $typ), <$typ>::from_be(&mut buf));
[INFO] [stdout]    |                                                 ~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `set_le` found for array `[u8; 2]` in the current scope
[INFO] [stdout]   --> src/endian.rs:71:21
[INFO] [stdout]    |
[INFO] [stdout] 13 |     fn set_le(&mut self, val: T);
[INFO] [stdout]    |        ------ the method is available for `[u8; 2]` here
[INFO] [stdout] ...
[INFO] [stdout] 71 |                 buf.set_le(1 as $typ);
[INFO] [stdout]    |                     ^^^^^^ method not found in `[u8; 2]`
[INFO] [stdout] ...
[INFO] [stdout] 85 |     test_endian_traits!(i16, i16);
[INFO] [stdout]    |     ----------------------------- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout]    = note: this error originates in the macro `test_endian_traits` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stdout]    |
[INFO] [stdout] 56 +     use crate::endian::EndianSet;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `as_le` found for array `[u8; 2]` in the current scope
[INFO] [stdout]   --> src/endian.rs:73:45
[INFO] [stdout]    |
[INFO] [stdout] 3  |     fn as_le(&self) -> T;
[INFO] [stdout]    |        ----- the method is available for `[u8; 2]` here
[INFO] [stdout] ...
[INFO] [stdout] 73 |                 assert_eq!((1 as $typ), buf.as_le());
[INFO] [stdout]    |                                             ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 85 |     test_endian_traits!(i16, i16);
[INFO] [stdout]    |     ----------------------------- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout]    = note: this error originates in the macro `test_endian_traits` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stdout]    |
[INFO] [stdout] 56 +     use crate::endian::EndianAs;
[INFO] [stdout]    |
[INFO] [stdout] help: there is a method with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 73 |                 assert_eq!((1 as $typ), buf.as_slice());
[INFO] [stdout]    |                                             ~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `from_le_ref` found for type `i16` in the current scope
[INFO] [stdout]   --> src/endian.rs:74:49
[INFO] [stdout]    |
[INFO] [stdout] 74 |                 assert_eq!((1 as $typ), <$typ>::from_le_ref(&buf));
[INFO] [stdout]    |                                                 ^^^^^^^^^^^ function or associated item not found in `i16`
[INFO] [stdout] ...
[INFO] [stdout] 85 |     test_endian_traits!(i16, i16);
[INFO] [stdout]    |     ----------------------------- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout]    = note: this error originates in the macro `test_endian_traits` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stdout]    |
[INFO] [stdout] 56 +     use crate::endian::EndianFromRef;
[INFO] [stdout]    |
[INFO] [stdout] help: there is an associated function with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 74 |                 assert_eq!((1 as $typ), <$typ>::from_le(&buf));
[INFO] [stdout]    |                                                 ~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `from_le_ref` found for type `i16` in the current scope
[INFO] [stdout]   --> src/endian.rs:75:49
[INFO] [stdout]    |
[INFO] [stdout] 75 |                 assert_eq!((1 as $typ), <$typ>::from_le_ref(&mut buf));
[INFO] [stdout]    |                                                 ^^^^^^^^^^^ function or associated item not found in `i16`
[INFO] [stdout] ...
[INFO] [stdout] 85 |     test_endian_traits!(i16, i16);
[INFO] [stdout]    |     ----------------------------- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout]    = note: this error originates in the macro `test_endian_traits` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stdout]    |
[INFO] [stdout] 56 +     use crate::endian::EndianFromRef;
[INFO] [stdout]    |
[INFO] [stdout] help: there is an associated function with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 75 |                 assert_eq!((1 as $typ), <$typ>::from_le(&mut buf));
[INFO] [stdout]    |                                                 ~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `set_be` found for array `[u8; 4]` in the current scope
[INFO] [stdout]   --> src/endian.rs:65:21
[INFO] [stdout]    |
[INFO] [stdout] 12 |     fn set_be(&mut self, val: T);
[INFO] [stdout]    |        ------ the method is available for `[u8; 4]` here
[INFO] [stdout] ...
[INFO] [stdout] 65 |                 buf.set_be(1 as $typ);
[INFO] [stdout]    |                     ^^^^^^ method not found in `[u8; 4]`
[INFO] [stdout] ...
[INFO] [stdout] 86 |     test_endian_traits!(i32, i32);
[INFO] [stdout]    |     ----------------------------- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout]    = note: this error originates in the macro `test_endian_traits` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stdout]    |
[INFO] [stdout] 56 +     use crate::endian::EndianSet;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `as_be` found for array `[u8; 4]` in the current scope
[INFO] [stdout]   --> src/endian.rs:67:45
[INFO] [stdout]    |
[INFO] [stdout] 2  |     fn as_be(&self) -> T;
[INFO] [stdout]    |        ----- the method is available for `[u8; 4]` here
[INFO] [stdout] ...
[INFO] [stdout] 67 |                 assert_eq!((1 as $typ), buf.as_be());
[INFO] [stdout]    |                                             ^^^^^ method not found in `[u8; 4]`
[INFO] [stdout] ...
[INFO] [stdout] 86 |     test_endian_traits!(i32, i32);
[INFO] [stdout]    |     ----------------------------- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout]    = note: this error originates in the macro `test_endian_traits` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stdout]    |
[INFO] [stdout] 56 +     use crate::endian::EndianAs;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `from_be_ref` found for type `i32` in the current scope
[INFO] [stdout]   --> src/endian.rs:68:49
[INFO] [stdout]    |
[INFO] [stdout] 68 |                 assert_eq!((1 as $typ), <$typ>::from_be_ref(&buf));
[INFO] [stdout]    |                                                 ^^^^^^^^^^^ function or associated item not found in `i32`
[INFO] [stdout] ...
[INFO] [stdout] 86 |     test_endian_traits!(i32, i32);
[INFO] [stdout]    |     ----------------------------- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout]    = note: this error originates in the macro `test_endian_traits` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stdout]    |
[INFO] [stdout] 56 +     use crate::endian::EndianFromRef;
[INFO] [stdout]    |
[INFO] [stdout] help: there is an associated function with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 68 |                 assert_eq!((1 as $typ), <$typ>::from_be(&buf));
[INFO] [stdout]    |                                                 ~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `from_be_ref` found for type `i32` in the current scope
[INFO] [stdout]   --> src/endian.rs:69:49
[INFO] [stdout]    |
[INFO] [stdout] 69 |                 assert_eq!((1 as $typ), <$typ>::from_be_ref(&mut buf));
[INFO] [stdout]    |                                                 ^^^^^^^^^^^ function or associated item not found in `i32`
[INFO] [stdout] ...
[INFO] [stdout] 86 |     test_endian_traits!(i32, i32);
[INFO] [stdout]    |     ----------------------------- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout]    = note: this error originates in the macro `test_endian_traits` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stdout]    |
[INFO] [stdout] 56 +     use crate::endian::EndianFromRef;
[INFO] [stdout]    |
[INFO] [stdout] help: there is an associated function with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 69 |                 assert_eq!((1 as $typ), <$typ>::from_be(&mut buf));
[INFO] [stdout]    |                                                 ~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `set_le` found for array `[u8; 4]` in the current scope
[INFO] [stdout]   --> src/endian.rs:71:21
[INFO] [stdout]    |
[INFO] [stdout] 13 |     fn set_le(&mut self, val: T);
[INFO] [stdout]    |        ------ the method is available for `[u8; 4]` here
[INFO] [stdout] ...
[INFO] [stdout] 71 |                 buf.set_le(1 as $typ);
[INFO] [stdout]    |                     ^^^^^^ method not found in `[u8; 4]`
[INFO] [stdout] ...
[INFO] [stdout] 86 |     test_endian_traits!(i32, i32);
[INFO] [stdout]    |     ----------------------------- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout]    = note: this error originates in the macro `test_endian_traits` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stdout]    |
[INFO] [stdout] 56 +     use crate::endian::EndianSet;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `as_le` found for array `[u8; 4]` in the current scope
[INFO] [stdout]   --> src/endian.rs:73:45
[INFO] [stdout]    |
[INFO] [stdout] 3  |     fn as_le(&self) -> T;
[INFO] [stdout]    |        ----- the method is available for `[u8; 4]` here
[INFO] [stdout] ...
[INFO] [stdout] 73 |                 assert_eq!((1 as $typ), buf.as_le());
[INFO] [stdout]    |                                             ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 86 |     test_endian_traits!(i32, i32);
[INFO] [stdout]    |     ----------------------------- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout]    = note: this error originates in the macro `test_endian_traits` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stdout]    |
[INFO] [stdout] 56 +     use crate::endian::EndianAs;
[INFO] [stdout]    |
[INFO] [stdout] help: there is a method with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 73 |                 assert_eq!((1 as $typ), buf.as_slice());
[INFO] [stdout]    |                                             ~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `from_le_ref` found for type `i32` in the current scope
[INFO] [stdout]   --> src/endian.rs:74:49
[INFO] [stdout]    |
[INFO] [stdout] 74 |                 assert_eq!((1 as $typ), <$typ>::from_le_ref(&buf));
[INFO] [stdout]    |                                                 ^^^^^^^^^^^ function or associated item not found in `i32`
[INFO] [stdout] ...
[INFO] [stdout] 86 |     test_endian_traits!(i32, i32);
[INFO] [stdout]    |     ----------------------------- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout]    = note: this error originates in the macro `test_endian_traits` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stdout]    |
[INFO] [stdout] 56 +     use crate::endian::EndianFromRef;
[INFO] [stdout]    |
[INFO] [stdout] help: there is an associated function with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 74 |                 assert_eq!((1 as $typ), <$typ>::from_le(&buf));
[INFO] [stdout]    |                                                 ~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `from_le_ref` found for type `i32` in the current scope
[INFO] [stdout]   --> src/endian.rs:75:49
[INFO] [stdout]    |
[INFO] [stdout] 75 |                 assert_eq!((1 as $typ), <$typ>::from_le_ref(&mut buf));
[INFO] [stdout]    |                                                 ^^^^^^^^^^^ function or associated item not found in `i32`
[INFO] [stdout] ...
[INFO] [stdout] 86 |     test_endian_traits!(i32, i32);
[INFO] [stdout]    |     ----------------------------- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout]    = note: this error originates in the macro `test_endian_traits` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stdout]    |
[INFO] [stdout] 56 +     use crate::endian::EndianFromRef;
[INFO] [stdout]    |
[INFO] [stdout] help: there is an associated function with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 75 |                 assert_eq!((1 as $typ), <$typ>::from_le(&mut buf));
[INFO] [stdout]    |                                                 ~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `set_be` found for array `[u8; 8]` in the current scope
[INFO] [stdout]   --> src/endian.rs:65:21
[INFO] [stdout]    |
[INFO] [stdout] 12 |     fn set_be(&mut self, val: T);
[INFO] [stdout]    |        ------ the method is available for `[u8; 8]` here
[INFO] [stdout] ...
[INFO] [stdout] 65 |                 buf.set_be(1 as $typ);
[INFO] [stdout]    |                     ^^^^^^ method not found in `[u8; 8]`
[INFO] [stdout] ...
[INFO] [stdout] 87 |     test_endian_traits!(i64, i64);
[INFO] [stdout]    |     ----------------------------- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout]    = note: this error originates in the macro `test_endian_traits` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stdout]    |
[INFO] [stdout] 56 +     use crate::endian::EndianSet;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `as_be` found for array `[u8; 8]` in the current scope
[INFO] [stdout]   --> src/endian.rs:67:45
[INFO] [stdout]    |
[INFO] [stdout] 2  |     fn as_be(&self) -> T;
[INFO] [stdout]    |        ----- the method is available for `[u8; 8]` here
[INFO] [stdout] ...
[INFO] [stdout] 67 |                 assert_eq!((1 as $typ), buf.as_be());
[INFO] [stdout]    |                                             ^^^^^ method not found in `[u8; 8]`
[INFO] [stdout] ...
[INFO] [stdout] 87 |     test_endian_traits!(i64, i64);
[INFO] [stdout]    |     ----------------------------- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout]    = note: this error originates in the macro `test_endian_traits` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stdout]    |
[INFO] [stdout] 56 +     use crate::endian::EndianAs;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `from_be_ref` found for type `i64` in the current scope
[INFO] [stdout]   --> src/endian.rs:68:49
[INFO] [stdout]    |
[INFO] [stdout] 68 |                 assert_eq!((1 as $typ), <$typ>::from_be_ref(&buf));
[INFO] [stdout]    |                                                 ^^^^^^^^^^^ function or associated item not found in `i64`
[INFO] [stdout] ...
[INFO] [stdout] 87 |     test_endian_traits!(i64, i64);
[INFO] [stdout]    |     ----------------------------- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout]    = note: this error originates in the macro `test_endian_traits` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stdout]    |
[INFO] [stdout] 56 +     use crate::endian::EndianFromRef;
[INFO] [stdout]    |
[INFO] [stdout] help: there is an associated function with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 68 |                 assert_eq!((1 as $typ), <$typ>::from_be(&buf));
[INFO] [stdout]    |                                                 ~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `from_be_ref` found for type `i64` in the current scope
[INFO] [stdout]   --> src/endian.rs:69:49
[INFO] [stdout]    |
[INFO] [stdout] 69 |                 assert_eq!((1 as $typ), <$typ>::from_be_ref(&mut buf));
[INFO] [stdout]    |                                                 ^^^^^^^^^^^ function or associated item not found in `i64`
[INFO] [stdout] ...
[INFO] [stdout] 87 |     test_endian_traits!(i64, i64);
[INFO] [stdout]    |     ----------------------------- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout]    = note: this error originates in the macro `test_endian_traits` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stdout]    |
[INFO] [stdout] 56 +     use crate::endian::EndianFromRef;
[INFO] [stdout]    |
[INFO] [stdout] help: there is an associated function with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 69 |                 assert_eq!((1 as $typ), <$typ>::from_be(&mut buf));
[INFO] [stdout]    |                                                 ~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `set_le` found for array `[u8; 8]` in the current scope
[INFO] [stdout]   --> src/endian.rs:71:21
[INFO] [stdout]    |
[INFO] [stdout] 13 |     fn set_le(&mut self, val: T);
[INFO] [stdout]    |        ------ the method is available for `[u8; 8]` here
[INFO] [stdout] ...
[INFO] [stdout] 71 |                 buf.set_le(1 as $typ);
[INFO] [stdout]    |                     ^^^^^^ method not found in `[u8; 8]`
[INFO] [stdout] ...
[INFO] [stdout] 87 |     test_endian_traits!(i64, i64);
[INFO] [stdout]    |     ----------------------------- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout]    = note: this error originates in the macro `test_endian_traits` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stdout]    |
[INFO] [stdout] 56 +     use crate::endian::EndianSet;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `as_le` found for array `[u8; 8]` in the current scope
[INFO] [stdout]   --> src/endian.rs:73:45
[INFO] [stdout]    |
[INFO] [stdout] 3  |     fn as_le(&self) -> T;
[INFO] [stdout]    |        ----- the method is available for `[u8; 8]` here
[INFO] [stdout] ...
[INFO] [stdout] 73 |                 assert_eq!((1 as $typ), buf.as_le());
[INFO] [stdout]    |                                             ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 87 |     test_endian_traits!(i64, i64);
[INFO] [stdout]    |     ----------------------------- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout]    = note: this error originates in the macro `test_endian_traits` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stdout]    |
[INFO] [stdout] 56 +     use crate::endian::EndianAs;
[INFO] [stdout]    |
[INFO] [stdout] help: there is a method with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 73 |                 assert_eq!((1 as $typ), buf.as_slice());
[INFO] [stdout]    |                                             ~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `from_le_ref` found for type `i64` in the current scope
[INFO] [stdout]   --> src/endian.rs:74:49
[INFO] [stdout]    |
[INFO] [stdout] 74 |                 assert_eq!((1 as $typ), <$typ>::from_le_ref(&buf));
[INFO] [stdout]    |                                                 ^^^^^^^^^^^ function or associated item not found in `i64`
[INFO] [stdout] ...
[INFO] [stdout] 87 |     test_endian_traits!(i64, i64);
[INFO] [stdout]    |     ----------------------------- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout]    = note: this error originates in the macro `test_endian_traits` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stdout]    |
[INFO] [stdout] 56 +     use crate::endian::EndianFromRef;
[INFO] [stdout]    |
[INFO] [stdout] help: there is an associated function with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 74 |                 assert_eq!((1 as $typ), <$typ>::from_le(&buf));
[INFO] [stdout]    |                                                 ~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `from_le_ref` found for type `i64` in the current scope
[INFO] [stdout]   --> src/endian.rs:75:49
[INFO] [stdout]    |
[INFO] [stdout] 75 |                 assert_eq!((1 as $typ), <$typ>::from_le_ref(&mut buf));
[INFO] [stdout]    |                                                 ^^^^^^^^^^^ function or associated item not found in `i64`
[INFO] [stdout] ...
[INFO] [stdout] 87 |     test_endian_traits!(i64, i64);
[INFO] [stdout]    |     ----------------------------- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout]    = note: this error originates in the macro `test_endian_traits` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stdout]    |
[INFO] [stdout] 56 +     use crate::endian::EndianFromRef;
[INFO] [stdout]    |
[INFO] [stdout] help: there is an associated function with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 75 |                 assert_eq!((1 as $typ), <$typ>::from_le(&mut buf));
[INFO] [stdout]    |                                                 ~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `set_be` found for array `[u8; 16]` in the current scope
[INFO] [stdout]   --> src/endian.rs:65:21
[INFO] [stdout]    |
[INFO] [stdout] 12 |     fn set_be(&mut self, val: T);
[INFO] [stdout]    |        ------ the method is available for `[u8; 16]` here
[INFO] [stdout] ...
[INFO] [stdout] 65 |                 buf.set_be(1 as $typ);
[INFO] [stdout]    |                     ^^^^^^ method not found in `[u8; 16]`
[INFO] [stdout] ...
[INFO] [stdout] 88 |     test_endian_traits!(i128, i128);
[INFO] [stdout]    |     ------------------------------- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout]    = note: this error originates in the macro `test_endian_traits` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stdout]    |
[INFO] [stdout] 56 +     use crate::endian::EndianSet;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `as_be` found for array `[u8; 16]` in the current scope
[INFO] [stdout]   --> src/endian.rs:67:45
[INFO] [stdout]    |
[INFO] [stdout] 2  |     fn as_be(&self) -> T;
[INFO] [stdout]    |        ----- the method is available for `[u8; 16]` here
[INFO] [stdout] ...
[INFO] [stdout] 67 |                 assert_eq!((1 as $typ), buf.as_be());
[INFO] [stdout]    |                                             ^^^^^ method not found in `[u8; 16]`
[INFO] [stdout] ...
[INFO] [stdout] 88 |     test_endian_traits!(i128, i128);
[INFO] [stdout]    |     ------------------------------- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout]    = note: this error originates in the macro `test_endian_traits` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stdout]    |
[INFO] [stdout] 56 +     use crate::endian::EndianAs;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `from_be_ref` found for type `i128` in the current scope
[INFO] [stdout]   --> src/endian.rs:68:49
[INFO] [stdout]    |
[INFO] [stdout] 68 |                 assert_eq!((1 as $typ), <$typ>::from_be_ref(&buf));
[INFO] [stdout]    |                                                 ^^^^^^^^^^^ function or associated item not found in `i128`
[INFO] [stdout] ...
[INFO] [stdout] 88 |     test_endian_traits!(i128, i128);
[INFO] [stdout]    |     ------------------------------- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout]    = note: this error originates in the macro `test_endian_traits` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stdout]    |
[INFO] [stdout] 56 +     use crate::endian::EndianFromRef;
[INFO] [stdout]    |
[INFO] [stdout] help: there is an associated function with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 68 |                 assert_eq!((1 as $typ), <$typ>::from_be(&buf));
[INFO] [stdout]    |                                                 ~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `from_be_ref` found for type `i128` in the current scope
[INFO] [stdout]   --> src/endian.rs:69:49
[INFO] [stdout]    |
[INFO] [stdout] 69 |                 assert_eq!((1 as $typ), <$typ>::from_be_ref(&mut buf));
[INFO] [stdout]    |                                                 ^^^^^^^^^^^ function or associated item not found in `i128`
[INFO] [stdout] ...
[INFO] [stdout] 88 |     test_endian_traits!(i128, i128);
[INFO] [stdout]    |     ------------------------------- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout]    = note: this error originates in the macro `test_endian_traits` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stdout]    |
[INFO] [stdout] 56 +     use crate::endian::EndianFromRef;
[INFO] [stdout]    |
[INFO] [stdout] help: there is an associated function with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 69 |                 assert_eq!((1 as $typ), <$typ>::from_be(&mut buf));
[INFO] [stdout]    |                                                 ~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `set_le` found for array `[u8; 16]` in the current scope
[INFO] [stdout]   --> src/endian.rs:71:21
[INFO] [stdout]    |
[INFO] [stdout] 13 |     fn set_le(&mut self, val: T);
[INFO] [stdout]    |        ------ the method is available for `[u8; 16]` here
[INFO] [stdout] ...
[INFO] [stdout] 71 |                 buf.set_le(1 as $typ);
[INFO] [stdout]    |                     ^^^^^^ method not found in `[u8; 16]`
[INFO] [stdout] ...
[INFO] [stdout] 88 |     test_endian_traits!(i128, i128);
[INFO] [stdout]    |     ------------------------------- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout]    = note: this error originates in the macro `test_endian_traits` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stdout]    |
[INFO] [stdout] 56 +     use crate::endian::EndianSet;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `as_le` found for array `[u8; 16]` in the current scope
[INFO] [stdout]   --> src/endian.rs:73:45
[INFO] [stdout]    |
[INFO] [stdout] 3  |     fn as_le(&self) -> T;
[INFO] [stdout]    |        ----- the method is available for `[u8; 16]` here
[INFO] [stdout] ...
[INFO] [stdout] 73 |                 assert_eq!((1 as $typ), buf.as_le());
[INFO] [stdout]    |                                             ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 88 |     test_endian_traits!(i128, i128);
[INFO] [stdout]    |     ------------------------------- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout]    = note: this error originates in the macro `test_endian_traits` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stdout]    |
[INFO] [stdout] 56 +     use crate::endian::EndianAs;
[INFO] [stdout]    |
[INFO] [stdout] help: there is a method with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 73 |                 assert_eq!((1 as $typ), buf.as_slice());
[INFO] [stdout]    |                                             ~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `from_le_ref` found for type `i128` in the current scope
[INFO] [stdout]   --> src/endian.rs:74:49
[INFO] [stdout]    |
[INFO] [stdout] 74 |                 assert_eq!((1 as $typ), <$typ>::from_le_ref(&buf));
[INFO] [stdout]    |                                                 ^^^^^^^^^^^ function or associated item not found in `i128`
[INFO] [stdout] ...
[INFO] [stdout] 88 |     test_endian_traits!(i128, i128);
[INFO] [stdout]    |     ------------------------------- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout]    = note: this error originates in the macro `test_endian_traits` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stdout]    |
[INFO] [stdout] 56 +     use crate::endian::EndianFromRef;
[INFO] [stdout]    |
[INFO] [stdout] help: there is an associated function with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 74 |                 assert_eq!((1 as $typ), <$typ>::from_le(&buf));
[INFO] [stdout]    |                                                 ~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `from_le_ref` found for type `i128` in the current scope
[INFO] [stdout]   --> src/endian.rs:75:49
[INFO] [stdout]    |
[INFO] [stdout] 75 |                 assert_eq!((1 as $typ), <$typ>::from_le_ref(&mut buf));
[INFO] [stdout]    |                                                 ^^^^^^^^^^^ function or associated item not found in `i128`
[INFO] [stdout] ...
[INFO] [stdout] 88 |     test_endian_traits!(i128, i128);
[INFO] [stdout]    |     ------------------------------- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout]    = note: this error originates in the macro `test_endian_traits` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stdout]    |
[INFO] [stdout] 56 +     use crate::endian::EndianFromRef;
[INFO] [stdout]    |
[INFO] [stdout] help: there is an associated function with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 75 |                 assert_eq!((1 as $typ), <$typ>::from_le(&mut buf));
[INFO] [stdout]    |                                                 ~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `from_arr` found for struct `BufRef` in the current scope
[INFO] [stdout]   --> src/from_arr.rs:42:25
[INFO] [stdout]    |
[INFO] [stdout] 29 |         struct BufRef<'a> {
[INFO] [stdout]    |         ----------------- function or associated item `from_arr` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 42 |         let _ = BufRef::from_arr(&[0u8; 2]);
[INFO] [stdout]    |                         ^^^^^^^^ function or associated item not found in `BufRef<'_>`
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stdout]    |
[INFO] [stdout] 25 +     use crate::from_arr::FromArr;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `from_arr_mut` found for struct `BufRefMut` in the current scope
[INFO] [stdout]   --> src/from_arr.rs:58:28
[INFO] [stdout]    |
[INFO] [stdout] 44 |         struct BufRefMut<'a> {
[INFO] [stdout]    |         -------------------- function or associated item `from_arr_mut` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 58 |         let _ = BufRefMut::from_arr_mut(&mut buf);
[INFO] [stdout]    |                            ^^^^^^^^^^^^ function or associated item not found in `BufRefMut<'_>`
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stdout]    |
[INFO] [stdout] 25 +     use crate::from_arr::FromArrMut;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `from_ref` found for type `u16` in the current scope
[INFO] [stdout]   --> src/from_ref.rs:36:14
[INFO] [stdout]    |
[INFO] [stdout] 36 |         u16::from_ref(&a);
[INFO] [stdout]    |              ^^^^^^^^ function or associated item not found in `u16`
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stdout]    |
[INFO] [stdout] 27 +     use crate::from_ref::FromRef;
[INFO] [stdout]    |
[INFO] [stdout] help: there is an associated function with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 36 |         u16::from_be(&a);
[INFO] [stdout]    |              ~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `from_ref` found for type `u16` in the current scope
[INFO] [stdout]   --> src/from_ref.rs:40:14
[INFO] [stdout]    |
[INFO] [stdout] 40 |         u16::from_ref(&mut a);
[INFO] [stdout]    |              ^^^^^^^^ function or associated item not found in `u16`
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stdout]    |
[INFO] [stdout] 27 +     use crate::from_ref::FromRef;
[INFO] [stdout]    |
[INFO] [stdout] help: there is an associated function with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 40 |         u16::from_be(&mut a);
[INFO] [stdout]    |              ~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `splice` found for array `[u8; 2]` in the current scope
[INFO] [stdout]   --> src/splice.rs:30:32
[INFO] [stdout]    |
[INFO] [stdout] 2  |     fn splice<const N: usize>(&self) -> Option<(&[T; N], &[T])>;
[INFO] [stdout]    |        ------ the method is available for `[u8; 2]` here
[INFO] [stdout] ...
[INFO] [stdout] 30 |         let (head, tail) = buf.splice::<0>().unwrap();
[INFO] [stdout]    |                                ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stdout]    |
[INFO] [stdout] 24 +     use crate::splice::Splice;
[INFO] [stdout]    |
[INFO] [stdout] help: there is a method with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 30 |         let (head, tail) = buf.split::<0>().unwrap();
[INFO] [stdout]    |                                ~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `splice` found for array `[u8; 2]` in the current scope
[INFO] [stdout]   --> src/splice.rs:34:32
[INFO] [stdout]    |
[INFO] [stdout] 2  |     fn splice<const N: usize>(&self) -> Option<(&[T; N], &[T])>;
[INFO] [stdout]    |        ------ the method is available for `[u8; 2]` here
[INFO] [stdout] ...
[INFO] [stdout] 34 |         let (head, tail) = buf.splice::<2>().unwrap();
[INFO] [stdout]    |                                ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stdout]    |
[INFO] [stdout] 24 +     use crate::splice::Splice;
[INFO] [stdout]    |
[INFO] [stdout] help: there is a method with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 34 |         let (head, tail) = buf.split::<2>().unwrap();
[INFO] [stdout]    |                                ~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `splice` found for array `[u8; 2]` in the current scope
[INFO] [stdout]   --> src/splice.rs:38:21
[INFO] [stdout]    |
[INFO] [stdout] 2  |     fn splice<const N: usize>(&self) -> Option<(&[T; N], &[T])>;
[INFO] [stdout]    |        ------ the method is available for `[u8; 2]` here
[INFO] [stdout] ...
[INFO] [stdout] 38 |         let x = buf.splice::<4>();
[INFO] [stdout]    |                     ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stdout]    |
[INFO] [stdout] 24 +     use crate::splice::Splice;
[INFO] [stdout]    |
[INFO] [stdout] help: there is a method with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 38 |         let x = buf.split::<4>();
[INFO] [stdout]    |                     ~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `splice_mut` found for array `[u8; 2]` in the current scope
[INFO] [stdout]   --> src/splice.rs:41:32
[INFO] [stdout]    |
[INFO] [stdout] 3  |     fn splice_mut<const N: usize>(&mut self) -> Option<(&mut [T; N], &mut [T])>;
[INFO] [stdout]    |        ---------- the method is available for `[u8; 2]` here
[INFO] [stdout] ...
[INFO] [stdout] 41 |         let (head, tail) = buf.splice_mut::<0>().unwrap();
[INFO] [stdout]    |                                ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stdout]    |
[INFO] [stdout] 24 +     use crate::splice::Splice;
[INFO] [stdout]    |
[INFO] [stdout] help: there is a method with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 41 |         let (head, tail) = buf.split::<0>().unwrap();
[INFO] [stdout]    |                                ~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `splice_mut` found for array `[u8; 2]` in the current scope
[INFO] [stdout]   --> src/splice.rs:45:32
[INFO] [stdout]    |
[INFO] [stdout] 3  |     fn splice_mut<const N: usize>(&mut self) -> Option<(&mut [T; N], &mut [T])>;
[INFO] [stdout]    |        ---------- the method is available for `[u8; 2]` here
[INFO] [stdout] ...
[INFO] [stdout] 45 |         let (head, tail) = buf.splice_mut::<2>().unwrap();
[INFO] [stdout]    |                                ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stdout]    |
[INFO] [stdout] 24 +     use crate::splice::Splice;
[INFO] [stdout]    |
[INFO] [stdout] help: there is a method with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 45 |         let (head, tail) = buf.split::<2>().unwrap();
[INFO] [stdout]    |                                ~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `splice_mut` found for array `[u8; 2]` in the current scope
[INFO] [stdout]   --> src/splice.rs:49:21
[INFO] [stdout]    |
[INFO] [stdout] 3  |     fn splice_mut<const N: usize>(&mut self) -> Option<(&mut [T; N], &mut [T])>;
[INFO] [stdout]    |        ---------- the method is available for `[u8; 2]` here
[INFO] [stdout] ...
[INFO] [stdout] 49 |         let x = buf.splice_mut::<4>();
[INFO] [stdout]    |                     ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stdout]    |
[INFO] [stdout] 24 +     use crate::splice::Splice;
[INFO] [stdout]    |
[INFO] [stdout] help: there is a method with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 49 |         let x = buf.split::<4>();
[INFO] [stdout]    |                     ~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 91 previous errors; 6 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0599`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `r-ex` (lib test) due to 92 previous errors; 6 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "f0731b77039cc5856dc480cc6e12f5bdd02f2cd39b3ff44fb755c3762d3f73e8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f0731b77039cc5856dc480cc6e12f5bdd02f2cd39b3ff44fb755c3762d3f73e8", kill_on_drop: false }`
[INFO] [stdout] f0731b77039cc5856dc480cc6e12f5bdd02f2cd39b3ff44fb755c3762d3f73e8
[INFO] checking r-ex-1.0.1 against try#b4fc5dbf0bc33be331f9d893db5b3a794f29724a+rustflags=-Dexplicit_range -Dtrait_impl_range -Wrange_syntax -Wrange_bounds for pr-121251
[INFO] extracting crate r-ex 1.0.1 into /workspace/builds/worker-0-tc2/source
[INFO] validating manifest of crates.io crate r-ex 1.0.1 on toolchain b4fc5dbf0bc33be331f9d893db5b3a794f29724a
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b4fc5dbf0bc33be331f9d893db5b3a794f29724a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] removed /workspace/builds/worker-0-tc2/source/.cargo/config.toml
[INFO] started tweaking crates.io crate r-ex 1.0.1
[INFO] finished tweaking crates.io crate r-ex 1.0.1
[INFO] tweaked toml for crates.io crate r-ex 1.0.1 written to /workspace/builds/worker-0-tc2/source/Cargo.toml
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b4fc5dbf0bc33be331f9d893db5b3a794f29724a" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b4fc5dbf0bc33be331f9d893db5b3a794f29724a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+b4fc5dbf0bc33be331f9d893db5b3a794f29724a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 90ea2f5acb9d13a7b620b61fed4cfaaa40351b166679915871aff36ba4b8212a
[INFO] running `Command { std: "docker" "start" "-a" "90ea2f5acb9d13a7b620b61fed4cfaaa40351b166679915871aff36ba4b8212a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "90ea2f5acb9d13a7b620b61fed4cfaaa40351b166679915871aff36ba4b8212a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "90ea2f5acb9d13a7b620b61fed4cfaaa40351b166679915871aff36ba4b8212a", kill_on_drop: false }`
[INFO] [stdout] 90ea2f5acb9d13a7b620b61fed4cfaaa40351b166679915871aff36ba4b8212a
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Dexplicit_range -Dtrait_impl_range -Wrange_syntax -Wrange_bounds" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+b4fc5dbf0bc33be331f9d893db5b3a794f29724a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 31f040317d78efcd399e5b5e697ef1b310f66a377b2e841487bc59c6cbe75e95
[INFO] running `Command { std: "docker" "start" "-a" "31f040317d78efcd399e5b5e697ef1b310f66a377b2e841487bc59c6cbe75e95", kill_on_drop: false }`
[INFO] [stderr]     Checking r-ex v1.0.1 (/opt/rustwide/workdir)
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]  --> src/carve.rs:9:18
[INFO] [stdout]   |
[INFO] [stdout] 9 |         self.get(offset..offset + N)?.try_into().ok()
[INFO] [stdout]   |                  ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: requested on the command line with `-W range-syntax`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]   --> src/carve.rs:14:22
[INFO] [stdout]    |
[INFO] [stdout] 14 |         self.get_mut(offset..offset + N)?.try_into().ok()
[INFO] [stdout]    |                      ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]  --> src/carve.rs:9:18
[INFO] [stdout]   |
[INFO] [stdout] 9 |         self.get(offset..offset + N)?.try_into().ok()
[INFO] [stdout]   |                  ^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: requested on the command line with `-W range-syntax`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: usage of `Range` range syntax
[INFO] [stdout]   --> src/carve.rs:14:22
[INFO] [stdout]    |
[INFO] [stdout] 14 |         self.get_mut(offset..offset + N)?.try_into().ok()
[INFO] [stdout]    |                      ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::prelude::*`
[INFO] [stdout]   --> src/carve.rs:37:9
[INFO] [stdout]    |
[INFO] [stdout] 37 |     use crate::prelude::*;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::prelude::*`
[INFO] [stdout]   --> src/copy_from.rs:14:9
[INFO] [stdout]    |
[INFO] [stdout] 14 |     use crate::prelude::*;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::prelude::*`
[INFO] [stdout]   --> src/endian.rs:56:9
[INFO] [stdout]    |
[INFO] [stdout] 56 |     use crate::prelude::*;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::prelude::*`
[INFO] [stdout]   --> src/from_arr.rs:25:9
[INFO] [stdout]    |
[INFO] [stdout] 25 |     use crate::prelude::*;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::prelude::*`
[INFO] [stdout]   --> src/from_ref.rs:27:9
[INFO] [stdout]    |
[INFO] [stdout] 27 |     use crate::prelude::*;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::prelude::*`
[INFO] [stdout]   --> src/splice.rs:24:9
[INFO] [stdout]    |
[INFO] [stdout] 24 |     use crate::prelude::*;
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `carved` and `carved_mut` are never used
[INFO] [stdout]   --> src/carve.rs:19:8
[INFO] [stdout]    |
[INFO] [stdout] 18 | pub trait Carved<T: Sized + Copy> {
[INFO] [stdout]    |           ------ methods in this trait
[INFO] [stdout] 19 |     fn carved<const N: usize>(&self) -> Option<&[T; N]>;
[INFO] [stdout]    |        ^^^^^^
[INFO] [stdout] 20 |     fn carved_mut<const N: usize>(&mut self) -> Option<&mut [T; N]>;
[INFO] [stdout]    |        ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `copy_from` is never used
[INFO] [stdout]  --> src/copy_from.rs:2:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub trait CopyFrom<T: Sized + Copy, const N: usize> {
[INFO] [stdout]   |           -------- method in this trait
[INFO] [stdout] 2 |     fn copy_from(&mut self, src: &[T; N]);
[INFO] [stdout]   |        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `as_be` and `as_le` are never used
[INFO] [stdout]  --> src/endian.rs:2:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub trait EndianAs<T> {
[INFO] [stdout]   |           -------- methods in this trait
[INFO] [stdout] 2 |     fn as_be(&self) -> T;
[INFO] [stdout]   |        ^^^^^
[INFO] [stdout] 3 |     fn as_le(&self) -> T;
[INFO] [stdout]   |        ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `EndianFromRef` is never used
[INFO] [stdout]  --> src/endian.rs:6:11
[INFO] [stdout]   |
[INFO] [stdout] 6 | pub trait EndianFromRef<T, U> {
[INFO] [stdout]   |           ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `set_be` and `set_le` are never used
[INFO] [stdout]   --> src/endian.rs:12:8
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub trait EndianSet<T> {
[INFO] [stdout]    |           --------- methods in this trait
[INFO] [stdout] 12 |     fn set_be(&mut self, val: T);
[INFO] [stdout]    |        ^^^^^^
[INFO] [stdout] 13 |     fn set_le(&mut self, val: T);
[INFO] [stdout]    |        ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `FromArr` is never used
[INFO] [stdout]  --> src/from_arr.rs:1:11
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub trait FromArr<'a, T: 'a, const N: usize, U: 'a> {
[INFO] [stdout]   |           ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: trait `FromArrMut` is never used
[INFO] [stdout]   --> src/from_arr.rs:12:11
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub trait FromArrMut<'a, T: 'a, const N: usize, U: 'a> {
[INFO] [stdout]    |           ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `from_ref` is never used
[INFO] [stdout]  --> src/from_ref.rs:2:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub trait FromRef<T>: Sized {
[INFO] [stdout]   |           ------- associated function in this trait
[INFO] [stdout] 2 |     fn from_ref(_: &T) -> Self;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `ref_into` is never used
[INFO] [stdout]   --> src/from_ref.rs:14:8
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub trait RefInto<T: Sized>: Clone {
[INFO] [stdout]    |           ------- method in this trait
[INFO] [stdout] 14 |     fn ref_into(&self) -> T;
[INFO] [stdout]    |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `splice` and `splice_mut` are never used
[INFO] [stdout]  --> src/splice.rs:2:8
[INFO] [stdout]   |
[INFO] [stdout] 1 | pub trait Splice<T: Sized> {
[INFO] [stdout]   |           ------ methods in this trait
[INFO] [stdout] 2 |     fn splice<const N: usize>(&self) -> Option<(&[T; N], &[T])>;
[INFO] [stdout]   |        ^^^^^^
[INFO] [stdout] 3 |     fn splice_mut<const N: usize>(&mut self) -> Option<(&mut [T; N], &mut [T])>;
[INFO] [stdout]   |        ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 12 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `carve` found for array `[u8; 4]` in the current scope
[INFO] [stdout]   --> src/carve.rs:43:39
[INFO] [stdout]    |
[INFO] [stdout] 2  |     fn carve<const N: usize>(&self, offset: usize) -> Option<&[T; N]>;
[INFO] [stdout]    |        ----- the method is available for `[u8; 4]` here
[INFO] [stdout] ...
[INFO] [stdout] 43 |         assert_eq!(&[1, 2, 3, 4], buf.carve(0).unwrap());
[INFO] [stdout]    |                                       ^^^^^ method not found in `[u8; 4]`
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stdout]    |
[INFO] [stdout] 37 +     use crate::carve::Carve;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `carve` found for array `[u8; 4]` in the current scope
[INFO] [stdout]   --> src/carve.rs:44:33
[INFO] [stdout]    |
[INFO] [stdout] 2  |     fn carve<const N: usize>(&self, offset: usize) -> Option<&[T; N]>;
[INFO] [stdout]    |        ----- the method is available for `[u8; 4]` here
[INFO] [stdout] ...
[INFO] [stdout] 44 |         assert_eq!(&[3, 4], buf.carve(2).unwrap());
[INFO] [stdout]    |                                 ^^^^^ method not found in `[u8; 4]`
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stdout]    |
[INFO] [stdout] 37 +     use crate::carve::Carve;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `carve` found for array `[u8; 4]` in the current scope
[INFO] [stdout]   --> src/carve.rs:45:41
[INFO] [stdout]    |
[INFO] [stdout] 2  |     fn carve<const N: usize>(&self, offset: usize) -> Option<&[T; N]>;
[INFO] [stdout]    |        ----- the method is available for `[u8; 4]` here
[INFO] [stdout] ...
[INFO] [stdout] 45 |         assert_eq!(&[] as &[u8; 0], buf.carve(4).unwrap());
[INFO] [stdout]    |                                         ^^^^^ method not found in `[u8; 4]`
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stdout]    |
[INFO] [stdout] 37 +     use crate::carve::Carve;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `carve` found for array `[u8; 4]` in the current scope
[INFO] [stdout]   --> src/carve.rs:46:21
[INFO] [stdout]    |
[INFO] [stdout] 2  |     fn carve<const N: usize>(&self, offset: usize) -> Option<&[T; N]>;
[INFO] [stdout]    |        ----- the method is available for `[u8; 4]` here
[INFO] [stdout] ...
[INFO] [stdout] 46 |         assert!(buf.carve::<5>(0).is_none());
[INFO] [stdout]    |                     ^^^^^ method not found in `[u8; 4]`
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stdout]    |
[INFO] [stdout] 37 +     use crate::carve::Carve;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `carve_mut` found for array `[u8; 4]` in the current scope
[INFO] [stdout]   --> src/carve.rs:48:39
[INFO] [stdout]    |
[INFO] [stdout] 3  |     fn carve_mut<const N: usize>(&mut self, offset: usize) -> Option<&mut [T; N]>;
[INFO] [stdout]    |        --------- the method is available for `[u8; 4]` here
[INFO] [stdout] ...
[INFO] [stdout] 48 |         assert_eq!(&[1, 2, 3, 4], buf.carve_mut(0).unwrap());
[INFO] [stdout]    |                                       ^^^^^^^^^ method not found in `[u8; 4]`
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stdout]    |
[INFO] [stdout] 37 +     use crate::carve::Carve;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `carve_mut` found for array `[u8; 4]` in the current scope
[INFO] [stdout]   --> src/carve.rs:49:33
[INFO] [stdout]    |
[INFO] [stdout] 3  |     fn carve_mut<const N: usize>(&mut self, offset: usize) -> Option<&mut [T; N]>;
[INFO] [stdout]    |        --------- the method is available for `[u8; 4]` here
[INFO] [stdout] ...
[INFO] [stdout] 49 |         assert_eq!(&[3, 4], buf.carve_mut(2).unwrap());
[INFO] [stdout]    |                                 ^^^^^^^^^ method not found in `[u8; 4]`
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stdout]    |
[INFO] [stdout] 37 +     use crate::carve::Carve;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `carve_mut` found for array `[u8; 4]` in the current scope
[INFO] [stdout]   --> src/carve.rs:50:41
[INFO] [stdout]    |
[INFO] [stdout] 3  |     fn carve_mut<const N: usize>(&mut self, offset: usize) -> Option<&mut [T; N]>;
[INFO] [stdout]    |        --------- the method is available for `[u8; 4]` here
[INFO] [stdout] ...
[INFO] [stdout] 50 |         assert_eq!(&[] as &[u8; 0], buf.carve_mut(4).unwrap());
[INFO] [stdout]    |                                         ^^^^^^^^^ method not found in `[u8; 4]`
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stdout]    |
[INFO] [stdout] 37 +     use crate::carve::Carve;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `carve_mut` found for array `[u8; 4]` in the current scope
[INFO] [stdout]   --> src/carve.rs:51:21
[INFO] [stdout]    |
[INFO] [stdout] 3  |     fn carve_mut<const N: usize>(&mut self, offset: usize) -> Option<&mut [T; N]>;
[INFO] [stdout]    |        --------- the method is available for `[u8; 4]` here
[INFO] [stdout] ...
[INFO] [stdout] 51 |         assert!(buf.carve_mut::<5>(0).is_none());
[INFO] [stdout]    |                     ^^^^^^^^^ method not found in `[u8; 4]`
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stdout]    |
[INFO] [stdout] 37 +     use crate::carve::Carve;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `carved` found for array `[u8; 4]` in the current scope
[INFO] [stdout]   --> src/carve.rs:58:39
[INFO] [stdout]    |
[INFO] [stdout] 19 |     fn carved<const N: usize>(&self) -> Option<&[T; N]>;
[INFO] [stdout]    |        ------ the method is available for `[u8; 4]` here
[INFO] [stdout] ...
[INFO] [stdout] 58 |         assert_eq!(&[1, 2, 3, 4], buf.carved().unwrap());
[INFO] [stdout]    |                                       ^^^^^^ method not found in `[u8; 4]`
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stdout]    |
[INFO] [stdout] 37 +     use crate::carve::Carved;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `carved` found for array `[u8; 4]` in the current scope
[INFO] [stdout]   --> src/carve.rs:59:33
[INFO] [stdout]    |
[INFO] [stdout] 19 |     fn carved<const N: usize>(&self) -> Option<&[T; N]>;
[INFO] [stdout]    |        ------ the method is available for `[u8; 4]` here
[INFO] [stdout] ...
[INFO] [stdout] 59 |         assert_eq!(&[1, 2], buf.carved().unwrap());
[INFO] [stdout]    |                                 ^^^^^^ method not found in `[u8; 4]`
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stdout]    |
[INFO] [stdout] 37 +     use crate::carve::Carved;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `carved` found for array `[u8; 4]` in the current scope
[INFO] [stdout]   --> src/carve.rs:60:41
[INFO] [stdout]    |
[INFO] [stdout] 19 |     fn carved<const N: usize>(&self) -> Option<&[T; N]>;
[INFO] [stdout]    |        ------ the method is available for `[u8; 4]` here
[INFO] [stdout] ...
[INFO] [stdout] 60 |         assert_eq!(&[] as &[u8; 0], buf.carved().unwrap());
[INFO] [stdout]    |                                         ^^^^^^ method not found in `[u8; 4]`
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stdout]    |
[INFO] [stdout] 37 +     use crate::carve::Carved;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `carved` found for array `[u8; 4]` in the current scope
[INFO] [stdout]   --> src/carve.rs:61:21
[INFO] [stdout]    |
[INFO] [stdout] 19 |     fn carved<const N: usize>(&self) -> Option<&[T; N]>;
[INFO] [stdout]    |        ------ the method is available for `[u8; 4]` here
[INFO] [stdout] ...
[INFO] [stdout] 61 |         assert!(buf.carved::<5>().is_none());
[INFO] [stdout]    |                     ^^^^^^ method not found in `[u8; 4]`
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stdout]    |
[INFO] [stdout] 37 +     use crate::carve::Carved;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `carved_mut` found for array `[u8; 4]` in the current scope
[INFO] [stdout]   --> src/carve.rs:63:39
[INFO] [stdout]    |
[INFO] [stdout] 20 |     fn carved_mut<const N: usize>(&mut self) -> Option<&mut [T; N]>;
[INFO] [stdout]    |        ---------- the method is available for `[u8; 4]` here
[INFO] [stdout] ...
[INFO] [stdout] 63 |         assert_eq!(&[1, 2, 3, 4], buf.carved_mut().unwrap());
[INFO] [stdout]    |                                       ^^^^^^^^^^ method not found in `[u8; 4]`
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stdout]    |
[INFO] [stdout] 37 +     use crate::carve::Carved;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `carved_mut` found for array `[u8; 4]` in the current scope
[INFO] [stdout]   --> src/carve.rs:64:33
[INFO] [stdout]    |
[INFO] [stdout] 20 |     fn carved_mut<const N: usize>(&mut self) -> Option<&mut [T; N]>;
[INFO] [stdout]    |        ---------- the method is available for `[u8; 4]` here
[INFO] [stdout] ...
[INFO] [stdout] 64 |         assert_eq!(&[1, 2], buf.carved_mut().unwrap());
[INFO] [stdout]    |                                 ^^^^^^^^^^ method not found in `[u8; 4]`
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stdout]    |
[INFO] [stdout] 37 +     use crate::carve::Carved;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `carved_mut` found for array `[u8; 4]` in the current scope
[INFO] [stdout]   --> src/carve.rs:65:41
[INFO] [stdout]    |
[INFO] [stdout] 20 |     fn carved_mut<const N: usize>(&mut self) -> Option<&mut [T; N]>;
[INFO] [stdout]    |        ---------- the method is available for `[u8; 4]` here
[INFO] [stdout] ...
[INFO] [stdout] 65 |         assert_eq!(&[] as &[u8; 0], buf.carved_mut().unwrap());
[INFO] [stdout]    |                                         ^^^^^^^^^^ method not found in `[u8; 4]`
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stdout]    |
[INFO] [stdout] 37 +     use crate::carve::Carved;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `carved_mut` found for array `[u8; 4]` in the current scope
[INFO] [stdout]   --> src/carve.rs:66:21
[INFO] [stdout]    |
[INFO] [stdout] 20 |     fn carved_mut<const N: usize>(&mut self) -> Option<&mut [T; N]>;
[INFO] [stdout]    |        ---------- the method is available for `[u8; 4]` here
[INFO] [stdout] ...
[INFO] [stdout] 66 |         assert!(buf.carved_mut::<5>().is_none());
[INFO] [stdout]    |                     ^^^^^^^^^^ method not found in `[u8; 4]`
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stdout]    |
[INFO] [stdout] 37 +     use crate::carve::Carved;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `copy_from` found for array `[u8; 4]` in the current scope
[INFO] [stdout]   --> src/copy_from.rs:21:13
[INFO] [stdout]    |
[INFO] [stdout] 2  |     fn copy_from(&mut self, src: &[T; N]);
[INFO] [stdout]    |        --------- the method is available for `[u8; 4]` here
[INFO] [stdout] ...
[INFO] [stdout] 21 |         buf.copy_from(&val1);
[INFO] [stdout]    |             ^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stdout]    |
[INFO] [stdout] 14 +     use crate::copy_from::CopyFrom;
[INFO] [stdout]    |
[INFO] [stdout] help: there is a method with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 21 |         buf.copy_from_slice(&val1);
[INFO] [stdout]    |             ~~~~~~~~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `set_be` found for array `[u8; 2]` in the current scope
[INFO] [stdout]   --> src/endian.rs:65:21
[INFO] [stdout]    |
[INFO] [stdout] 12 |     fn set_be(&mut self, val: T);
[INFO] [stdout]    |        ------ the method is available for `[u8; 2]` here
[INFO] [stdout] ...
[INFO] [stdout] 65 |                 buf.set_be(1 as $typ);
[INFO] [stdout]    |                     ^^^^^^ method not found in `[u8; 2]`
[INFO] [stdout] ...
[INFO] [stdout] 80 |     test_endian_traits!(u16, u16);
[INFO] [stdout]    |     ----------------------------- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout]    = note: this error originates in the macro `test_endian_traits` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stdout]    |
[INFO] [stdout] 56 +     use crate::endian::EndianSet;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `as_be` found for array `[u8; 2]` in the current scope
[INFO] [stdout]   --> src/endian.rs:67:45
[INFO] [stdout]    |
[INFO] [stdout] 2  |     fn as_be(&self) -> T;
[INFO] [stdout]    |        ----- the method is available for `[u8; 2]` here
[INFO] [stdout] ...
[INFO] [stdout] 67 |                 assert_eq!((1 as $typ), buf.as_be());
[INFO] [stdout]    |                                             ^^^^^ method not found in `[u8; 2]`
[INFO] [stdout] ...
[INFO] [stdout] 80 |     test_endian_traits!(u16, u16);
[INFO] [stdout]    |     ----------------------------- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout]    = note: this error originates in the macro `test_endian_traits` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stdout]    |
[INFO] [stdout] 56 +     use crate::endian::EndianAs;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `from_be_ref` found for type `u16` in the current scope
[INFO] [stdout]   --> src/endian.rs:68:49
[INFO] [stdout]    |
[INFO] [stdout] 68 |                 assert_eq!((1 as $typ), <$typ>::from_be_ref(&buf));
[INFO] [stdout]    |                                                 ^^^^^^^^^^^ function or associated item not found in `u16`
[INFO] [stdout] ...
[INFO] [stdout] 80 |     test_endian_traits!(u16, u16);
[INFO] [stdout]    |     ----------------------------- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout]    = note: this error originates in the macro `test_endian_traits` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stdout]    |
[INFO] [stdout] 56 +     use crate::endian::EndianFromRef;
[INFO] [stdout]    |
[INFO] [stdout] help: there is an associated function with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 68 |                 assert_eq!((1 as $typ), <$typ>::from_be(&buf));
[INFO] [stdout]    |                                                 ~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `from_be_ref` found for type `u16` in the current scope
[INFO] [stdout]   --> src/endian.rs:69:49
[INFO] [stdout]    |
[INFO] [stdout] 69 |                 assert_eq!((1 as $typ), <$typ>::from_be_ref(&mut buf));
[INFO] [stdout]    |                                                 ^^^^^^^^^^^ function or associated item not found in `u16`
[INFO] [stdout] ...
[INFO] [stdout] 80 |     test_endian_traits!(u16, u16);
[INFO] [stdout]    |     ----------------------------- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout]    = note: this error originates in the macro `test_endian_traits` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stdout]    |
[INFO] [stdout] 56 +     use crate::endian::EndianFromRef;
[INFO] [stdout]    |
[INFO] [stdout] help: there is an associated function with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 69 |                 assert_eq!((1 as $typ), <$typ>::from_be(&mut buf));
[INFO] [stdout]    |                                                 ~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `set_le` found for array `[u8; 2]` in the current scope
[INFO] [stdout]   --> src/endian.rs:71:21
[INFO] [stdout]    |
[INFO] [stdout] 13 |     fn set_le(&mut self, val: T);
[INFO] [stdout]    |        ------ the method is available for `[u8; 2]` here
[INFO] [stdout] ...
[INFO] [stdout] 71 |                 buf.set_le(1 as $typ);
[INFO] [stdout]    |                     ^^^^^^ method not found in `[u8; 2]`
[INFO] [stdout] ...
[INFO] [stdout] 80 |     test_endian_traits!(u16, u16);
[INFO] [stdout]    |     ----------------------------- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout]    = note: this error originates in the macro `test_endian_traits` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stdout]    |
[INFO] [stdout] 56 +     use crate::endian::EndianSet;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `as_le` found for array `[u8; 2]` in the current scope
[INFO] [stdout]   --> src/endian.rs:73:45
[INFO] [stdout]    |
[INFO] [stdout] 3  |     fn as_le(&self) -> T;
[INFO] [stdout]    |        ----- the method is available for `[u8; 2]` here
[INFO] [stdout] ...
[INFO] [stdout] 73 |                 assert_eq!((1 as $typ), buf.as_le());
[INFO] [stdout]    |                                             ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 80 |     test_endian_traits!(u16, u16);
[INFO] [stdout]    |     ----------------------------- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout]    = note: this error originates in the macro `test_endian_traits` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stdout]    |
[INFO] [stdout] 56 +     use crate::endian::EndianAs;
[INFO] [stdout]    |
[INFO] [stdout] help: there is a method with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 73 |                 assert_eq!((1 as $typ), buf.as_slice());
[INFO] [stdout]    |                                             ~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `from_le_ref` found for type `u16` in the current scope
[INFO] [stdout]   --> src/endian.rs:74:49
[INFO] [stdout]    |
[INFO] [stdout] 74 |                 assert_eq!((1 as $typ), <$typ>::from_le_ref(&buf));
[INFO] [stdout]    |                                                 ^^^^^^^^^^^ function or associated item not found in `u16`
[INFO] [stdout] ...
[INFO] [stdout] 80 |     test_endian_traits!(u16, u16);
[INFO] [stdout]    |     ----------------------------- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout]    = note: this error originates in the macro `test_endian_traits` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stdout]    |
[INFO] [stdout] 56 +     use crate::endian::EndianFromRef;
[INFO] [stdout]    |
[INFO] [stdout] help: there is an associated function with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 74 |                 assert_eq!((1 as $typ), <$typ>::from_le(&buf));
[INFO] [stdout]    |                                                 ~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `from_le_ref` found for type `u16` in the current scope
[INFO] [stdout]   --> src/endian.rs:75:49
[INFO] [stdout]    |
[INFO] [stdout] 75 |                 assert_eq!((1 as $typ), <$typ>::from_le_ref(&mut buf));
[INFO] [stdout]    |                                                 ^^^^^^^^^^^ function or associated item not found in `u16`
[INFO] [stdout] ...
[INFO] [stdout] 80 |     test_endian_traits!(u16, u16);
[INFO] [stdout]    |     ----------------------------- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout]    = note: this error originates in the macro `test_endian_traits` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stdout]    |
[INFO] [stdout] 56 +     use crate::endian::EndianFromRef;
[INFO] [stdout]    |
[INFO] [stdout] help: there is an associated function with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 75 |                 assert_eq!((1 as $typ), <$typ>::from_le(&mut buf));
[INFO] [stdout]    |                                                 ~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `set_be` found for array `[u8; 4]` in the current scope
[INFO] [stdout]   --> src/endian.rs:65:21
[INFO] [stdout]    |
[INFO] [stdout] 12 |     fn set_be(&mut self, val: T);
[INFO] [stdout]    |        ------ the method is available for `[u8; 4]` here
[INFO] [stdout] ...
[INFO] [stdout] 65 |                 buf.set_be(1 as $typ);
[INFO] [stdout]    |                     ^^^^^^ method not found in `[u8; 4]`
[INFO] [stdout] ...
[INFO] [stdout] 81 |     test_endian_traits!(u32, u32);
[INFO] [stdout]    |     ----------------------------- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout]    = note: this error originates in the macro `test_endian_traits` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stdout]    |
[INFO] [stdout] 56 +     use crate::endian::EndianSet;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `as_be` found for array `[u8; 4]` in the current scope
[INFO] [stdout]   --> src/endian.rs:67:45
[INFO] [stdout]    |
[INFO] [stdout] 2  |     fn as_be(&self) -> T;
[INFO] [stdout]    |        ----- the method is available for `[u8; 4]` here
[INFO] [stdout] ...
[INFO] [stdout] 67 |                 assert_eq!((1 as $typ), buf.as_be());
[INFO] [stdout]    |                                             ^^^^^ method not found in `[u8; 4]`
[INFO] [stdout] ...
[INFO] [stdout] 81 |     test_endian_traits!(u32, u32);
[INFO] [stdout]    |     ----------------------------- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout]    = note: this error originates in the macro `test_endian_traits` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stdout]    |
[INFO] [stdout] 56 +     use crate::endian::EndianAs;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `from_be_ref` found for type `u32` in the current scope
[INFO] [stdout]   --> src/endian.rs:68:49
[INFO] [stdout]    |
[INFO] [stdout] 68 |                 assert_eq!((1 as $typ), <$typ>::from_be_ref(&buf));
[INFO] [stdout]    |                                                 ^^^^^^^^^^^ function or associated item not found in `u32`
[INFO] [stdout] ...
[INFO] [stdout] 81 |     test_endian_traits!(u32, u32);
[INFO] [stdout]    |     ----------------------------- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout]    = note: this error originates in the macro `test_endian_traits` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stdout]    |
[INFO] [stdout] 56 +     use crate::endian::EndianFromRef;
[INFO] [stdout]    |
[INFO] [stdout] help: there is an associated function with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 68 |                 assert_eq!((1 as $typ), <$typ>::from_be(&buf));
[INFO] [stdout]    |                                                 ~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `from_be_ref` found for type `u32` in the current scope
[INFO] [stdout]   --> src/endian.rs:69:49
[INFO] [stdout]    |
[INFO] [stdout] 69 |                 assert_eq!((1 as $typ), <$typ>::from_be_ref(&mut buf));
[INFO] [stdout]    |                                                 ^^^^^^^^^^^ function or associated item not found in `u32`
[INFO] [stdout] ...
[INFO] [stdout] 81 |     test_endian_traits!(u32, u32);
[INFO] [stdout]    |     ----------------------------- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout]    = note: this error originates in the macro `test_endian_traits` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stdout]    |
[INFO] [stdout] 56 +     use crate::endian::EndianFromRef;
[INFO] [stdout]    |
[INFO] [stdout] help: there is an associated function with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 69 |                 assert_eq!((1 as $typ), <$typ>::from_be(&mut buf));
[INFO] [stdout]    |                                                 ~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `set_le` found for array `[u8; 4]` in the current scope
[INFO] [stdout]   --> src/endian.rs:71:21
[INFO] [stdout]    |
[INFO] [stdout] 13 |     fn set_le(&mut self, val: T);
[INFO] [stdout]    |        ------ the method is available for `[u8; 4]` here
[INFO] [stdout] ...
[INFO] [stdout] 71 |                 buf.set_le(1 as $typ);
[INFO] [stdout]    |                     ^^^^^^ method not found in `[u8; 4]`
[INFO] [stdout] ...
[INFO] [stdout] 81 |     test_endian_traits!(u32, u32);
[INFO] [stdout]    |     ----------------------------- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout]    = note: this error originates in the macro `test_endian_traits` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stdout]    |
[INFO] [stdout] 56 +     use crate::endian::EndianSet;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `as_le` found for array `[u8; 4]` in the current scope
[INFO] [stdout]   --> src/endian.rs:73:45
[INFO] [stdout]    |
[INFO] [stdout] 3  |     fn as_le(&self) -> T;
[INFO] [stdout]    |        ----- the method is available for `[u8; 4]` here
[INFO] [stdout] ...
[INFO] [stdout] 73 |                 assert_eq!((1 as $typ), buf.as_le());
[INFO] [stdout]    |                                             ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 81 |     test_endian_traits!(u32, u32);
[INFO] [stdout]    |     ----------------------------- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout]    = note: this error originates in the macro `test_endian_traits` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stdout]    |
[INFO] [stdout] 56 +     use crate::endian::EndianAs;
[INFO] [stdout]    |
[INFO] [stdout] help: there is a method with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 73 |                 assert_eq!((1 as $typ), buf.as_slice());
[INFO] [stdout]    |                                             ~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `from_le_ref` found for type `u32` in the current scope
[INFO] [stdout]   --> src/endian.rs:74:49
[INFO] [stdout]    |
[INFO] [stdout] 74 |                 assert_eq!((1 as $typ), <$typ>::from_le_ref(&buf));
[INFO] [stdout]    |                                                 ^^^^^^^^^^^ function or associated item not found in `u32`
[INFO] [stdout] ...
[INFO] [stdout] 81 |     test_endian_traits!(u32, u32);
[INFO] [stdout]    |     ----------------------------- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout]    = note: this error originates in the macro `test_endian_traits` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stdout]    |
[INFO] [stdout] 56 +     use crate::endian::EndianFromRef;
[INFO] [stdout]    |
[INFO] [stdout] help: there is an associated function with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 74 |                 assert_eq!((1 as $typ), <$typ>::from_le(&buf));
[INFO] [stdout]    |                                                 ~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `from_le_ref` found for type `u32` in the current scope
[INFO] [stdout]   --> src/endian.rs:75:49
[INFO] [stdout]    |
[INFO] [stdout] 75 |                 assert_eq!((1 as $typ), <$typ>::from_le_ref(&mut buf));
[INFO] [stdout]    |                                                 ^^^^^^^^^^^ function or associated item not found in `u32`
[INFO] [stdout] ...
[INFO] [stdout] 81 |     test_endian_traits!(u32, u32);
[INFO] [stdout]    |     ----------------------------- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout]    = note: this error originates in the macro `test_endian_traits` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stdout]    |
[INFO] [stdout] 56 +     use crate::endian::EndianFromRef;
[INFO] [stdout]    |
[INFO] [stdout] help: there is an associated function with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 75 |                 assert_eq!((1 as $typ), <$typ>::from_le(&mut buf));
[INFO] [stdout]    |                                                 ~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `set_be` found for array `[u8; 8]` in the current scope
[INFO] [stdout]   --> src/endian.rs:65:21
[INFO] [stdout]    |
[INFO] [stdout] 12 |     fn set_be(&mut self, val: T);
[INFO] [stdout]    |        ------ the method is available for `[u8; 8]` here
[INFO] [stdout] ...
[INFO] [stdout] 65 |                 buf.set_be(1 as $typ);
[INFO] [stdout]    |                     ^^^^^^ method not found in `[u8; 8]`
[INFO] [stdout] ...
[INFO] [stdout] 82 |     test_endian_traits!(u64, u64);
[INFO] [stdout]    |     ----------------------------- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout]    = note: this error originates in the macro `test_endian_traits` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stdout]    |
[INFO] [stdout] 56 +     use crate::endian::EndianSet;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `as_be` found for array `[u8; 8]` in the current scope
[INFO] [stdout]   --> src/endian.rs:67:45
[INFO] [stdout]    |
[INFO] [stdout] 2  |     fn as_be(&self) -> T;
[INFO] [stdout]    |        ----- the method is available for `[u8; 8]` here
[INFO] [stdout] ...
[INFO] [stdout] 67 |                 assert_eq!((1 as $typ), buf.as_be());
[INFO] [stdout]    |                                             ^^^^^ method not found in `[u8; 8]`
[INFO] [stdout] ...
[INFO] [stdout] 82 |     test_endian_traits!(u64, u64);
[INFO] [stdout]    |     ----------------------------- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout]    = note: this error originates in the macro `test_endian_traits` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stdout]    |
[INFO] [stdout] 56 +     use crate::endian::EndianAs;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `from_be_ref` found for type `u64` in the current scope
[INFO] [stdout]   --> src/endian.rs:68:49
[INFO] [stdout]    |
[INFO] [stdout] 68 |                 assert_eq!((1 as $typ), <$typ>::from_be_ref(&buf));
[INFO] [stdout]    |                                                 ^^^^^^^^^^^ function or associated item not found in `u64`
[INFO] [stdout] ...
[INFO] [stdout] 82 |     test_endian_traits!(u64, u64);
[INFO] [stdout]    |     ----------------------------- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout]    = note: this error originates in the macro `test_endian_traits` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stdout]    |
[INFO] [stdout] 56 +     use crate::endian::EndianFromRef;
[INFO] [stdout]    |
[INFO] [stdout] help: there is an associated function with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 68 |                 assert_eq!((1 as $typ), <$typ>::from_be(&buf));
[INFO] [stdout]    |                                                 ~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `from_be_ref` found for type `u64` in the current scope
[INFO] [stdout]   --> src/endian.rs:69:49
[INFO] [stdout]    |
[INFO] [stdout] 69 |                 assert_eq!((1 as $typ), <$typ>::from_be_ref(&mut buf));
[INFO] [stdout]    |                                                 ^^^^^^^^^^^ function or associated item not found in `u64`
[INFO] [stdout] ...
[INFO] [stdout] 82 |     test_endian_traits!(u64, u64);
[INFO] [stdout]    |     ----------------------------- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout]    = note: this error originates in the macro `test_endian_traits` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stdout]    |
[INFO] [stdout] 56 +     use crate::endian::EndianFromRef;
[INFO] [stdout]    |
[INFO] [stdout] help: there is an associated function with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 69 |                 assert_eq!((1 as $typ), <$typ>::from_be(&mut buf));
[INFO] [stdout]    |                                                 ~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `set_le` found for array `[u8; 8]` in the current scope
[INFO] [stdout]   --> src/endian.rs:71:21
[INFO] [stdout]    |
[INFO] [stdout] 13 |     fn set_le(&mut self, val: T);
[INFO] [stdout]    |        ------ the method is available for `[u8; 8]` here
[INFO] [stdout] ...
[INFO] [stdout] 71 |                 buf.set_le(1 as $typ);
[INFO] [stdout]    |                     ^^^^^^ method not found in `[u8; 8]`
[INFO] [stdout] ...
[INFO] [stdout] 82 |     test_endian_traits!(u64, u64);
[INFO] [stdout]    |     ----------------------------- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout]    = note: this error originates in the macro `test_endian_traits` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stdout]    |
[INFO] [stdout] 56 +     use crate::endian::EndianSet;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `as_le` found for array `[u8; 8]` in the current scope
[INFO] [stdout]   --> src/endian.rs:73:45
[INFO] [stdout]    |
[INFO] [stdout] 3  |     fn as_le(&self) -> T;
[INFO] [stdout]    |        ----- the method is available for `[u8; 8]` here
[INFO] [stdout] ...
[INFO] [stdout] 73 |                 assert_eq!((1 as $typ), buf.as_le());
[INFO] [stdout]    |                                             ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 82 |     test_endian_traits!(u64, u64);
[INFO] [stdout]    |     ----------------------------- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout]    = note: this error originates in the macro `test_endian_traits` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stdout]    |
[INFO] [stdout] 56 +     use crate::endian::EndianAs;
[INFO] [stdout]    |
[INFO] [stdout] help: there is a method with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 73 |                 assert_eq!((1 as $typ), buf.as_slice());
[INFO] [stdout]    |                                             ~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `from_le_ref` found for type `u64` in the current scope
[INFO] [stdout]   --> src/endian.rs:74:49
[INFO] [stdout]    |
[INFO] [stdout] 74 |                 assert_eq!((1 as $typ), <$typ>::from_le_ref(&buf));
[INFO] [stdout]    |                                                 ^^^^^^^^^^^ function or associated item not found in `u64`
[INFO] [stdout] ...
[INFO] [stdout] 82 |     test_endian_traits!(u64, u64);
[INFO] [stdout]    |     ----------------------------- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout]    = note: this error originates in the macro `test_endian_traits` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stdout]    |
[INFO] [stdout] 56 +     use crate::endian::EndianFromRef;
[INFO] [stdout]    |
[INFO] [stdout] help: there is an associated function with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 74 |                 assert_eq!((1 as $typ), <$typ>::from_le(&buf));
[INFO] [stdout]    |                                                 ~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `from_le_ref` found for type `u64` in the current scope
[INFO] [stdout]   --> src/endian.rs:75:49
[INFO] [stdout]    |
[INFO] [stdout] 75 |                 assert_eq!((1 as $typ), <$typ>::from_le_ref(&mut buf));
[INFO] [stdout]    |                                                 ^^^^^^^^^^^ function or associated item not found in `u64`
[INFO] [stdout] ...
[INFO] [stdout] 82 |     test_endian_traits!(u64, u64);
[INFO] [stdout]    |     ----------------------------- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout]    = note: this error originates in the macro `test_endian_traits` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stdout]    |
[INFO] [stdout] 56 +     use crate::endian::EndianFromRef;
[INFO] [stdout]    |
[INFO] [stdout] help: there is an associated function with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 75 |                 assert_eq!((1 as $typ), <$typ>::from_le(&mut buf));
[INFO] [stdout]    |                                                 ~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `set_be` found for array `[u8; 16]` in the current scope
[INFO] [stdout]   --> src/endian.rs:65:21
[INFO] [stdout]    |
[INFO] [stdout] 12 |     fn set_be(&mut self, val: T);
[INFO] [stdout]    |        ------ the method is available for `[u8; 16]` here
[INFO] [stdout] ...
[INFO] [stdout] 65 |                 buf.set_be(1 as $typ);
[INFO] [stdout]    |                     ^^^^^^ method not found in `[u8; 16]`
[INFO] [stdout] ...
[INFO] [stdout] 83 |     test_endian_traits!(u128, u128);
[INFO] [stdout]    |     ------------------------------- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout]    = note: this error originates in the macro `test_endian_traits` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stdout]    |
[INFO] [stdout] 56 +     use crate::endian::EndianSet;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `as_be` found for array `[u8; 16]` in the current scope
[INFO] [stdout]   --> src/endian.rs:67:45
[INFO] [stdout]    |
[INFO] [stdout] 2  |     fn as_be(&self) -> T;
[INFO] [stdout]    |        ----- the method is available for `[u8; 16]` here
[INFO] [stdout] ...
[INFO] [stdout] 67 |                 assert_eq!((1 as $typ), buf.as_be());
[INFO] [stdout]    |                                             ^^^^^ method not found in `[u8; 16]`
[INFO] [stdout] ...
[INFO] [stdout] 83 |     test_endian_traits!(u128, u128);
[INFO] [stdout]    |     ------------------------------- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout]    = note: this error originates in the macro `test_endian_traits` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stdout]    |
[INFO] [stdout] 56 +     use crate::endian::EndianAs;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `from_be_ref` found for type `u128` in the current scope
[INFO] [stdout]   --> src/endian.rs:68:49
[INFO] [stdout]    |
[INFO] [stdout] 68 |                 assert_eq!((1 as $typ), <$typ>::from_be_ref(&buf));
[INFO] [stdout]    |                                                 ^^^^^^^^^^^ function or associated item not found in `u128`
[INFO] [stdout] ...
[INFO] [stdout] 83 |     test_endian_traits!(u128, u128);
[INFO] [stdout]    |     ------------------------------- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout]    = note: this error originates in the macro `test_endian_traits` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stdout]    |
[INFO] [stdout] 56 +     use crate::endian::EndianFromRef;
[INFO] [stdout]    |
[INFO] [stdout] help: there is an associated function with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 68 |                 assert_eq!((1 as $typ), <$typ>::from_be(&buf));
[INFO] [stdout]    |                                                 ~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `from_be_ref` found for type `u128` in the current scope
[INFO] [stdout]   --> src/endian.rs:69:49
[INFO] [stdout]    |
[INFO] [stdout] 69 |                 assert_eq!((1 as $typ), <$typ>::from_be_ref(&mut buf));
[INFO] [stdout]    |                                                 ^^^^^^^^^^^ function or associated item not found in `u128`
[INFO] [stdout] ...
[INFO] [stdout] 83 |     test_endian_traits!(u128, u128);
[INFO] [stdout]    |     ------------------------------- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout]    = note: this error originates in the macro `test_endian_traits` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stdout]    |
[INFO] [stdout] 56 +     use crate::endian::EndianFromRef;
[INFO] [stdout]    |
[INFO] [stdout] help: there is an associated function with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 69 |                 assert_eq!((1 as $typ), <$typ>::from_be(&mut buf));
[INFO] [stdout]    |                                                 ~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `set_le` found for array `[u8; 16]` in the current scope
[INFO] [stdout]   --> src/endian.rs:71:21
[INFO] [stdout]    |
[INFO] [stdout] 13 |     fn set_le(&mut self, val: T);
[INFO] [stdout]    |        ------ the method is available for `[u8; 16]` here
[INFO] [stdout] ...
[INFO] [stdout] 71 |                 buf.set_le(1 as $typ);
[INFO] [stdout]    |                     ^^^^^^ method not found in `[u8; 16]`
[INFO] [stdout] ...
[INFO] [stdout] 83 |     test_endian_traits!(u128, u128);
[INFO] [stdout]    |     ------------------------------- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout]    = note: this error originates in the macro `test_endian_traits` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stdout]    |
[INFO] [stdout] 56 +     use crate::endian::EndianSet;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `as_le` found for array `[u8; 16]` in the current scope
[INFO] [stdout]   --> src/endian.rs:73:45
[INFO] [stdout]    |
[INFO] [stdout] 3  |     fn as_le(&self) -> T;
[INFO] [stdout]    |        ----- the method is available for `[u8; 16]` here
[INFO] [stdout] ...
[INFO] [stdout] 73 |                 assert_eq!((1 as $typ), buf.as_le());
[INFO] [stdout]    |                                             ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 83 |     test_endian_traits!(u128, u128);
[INFO] [stdout]    |     ------------------------------- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout]    = note: this error originates in the macro `test_endian_traits` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stdout]    |
[INFO] [stdout] 56 +     use crate::endian::EndianAs;
[INFO] [stdout]    |
[INFO] [stdout] help: there is a method with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 73 |                 assert_eq!((1 as $typ), buf.as_slice());
[INFO] [stdout]    |                                             ~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `from_le_ref` found for type `u128` in the current scope
[INFO] [stdout]   --> src/endian.rs:74:49
[INFO] [stdout]    |
[INFO] [stdout] 74 |                 assert_eq!((1 as $typ), <$typ>::from_le_ref(&buf));
[INFO] [stdout]    |                                                 ^^^^^^^^^^^ function or associated item not found in `u128`
[INFO] [stdout] ...
[INFO] [stdout] 83 |     test_endian_traits!(u128, u128);
[INFO] [stdout]    |     ------------------------------- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout]    = note: this error originates in the macro `test_endian_traits` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stdout]    |
[INFO] [stdout] 56 +     use crate::endian::EndianFromRef;
[INFO] [stdout]    |
[INFO] [stdout] help: there is an associated function with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 74 |                 assert_eq!((1 as $typ), <$typ>::from_le(&buf));
[INFO] [stdout]    |                                                 ~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `from_le_ref` found for type `u128` in the current scope
[INFO] [stdout]   --> src/endian.rs:75:49
[INFO] [stdout]    |
[INFO] [stdout] 75 |                 assert_eq!((1 as $typ), <$typ>::from_le_ref(&mut buf));
[INFO] [stdout]    |                                                 ^^^^^^^^^^^ function or associated item not found in `u128`
[INFO] [stdout] ...
[INFO] [stdout] 83 |     test_endian_traits!(u128, u128);
[INFO] [stdout]    |     ------------------------------- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout]    = note: this error originates in the macro `test_endian_traits` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stdout]    |
[INFO] [stdout] 56 +     use crate::endian::EndianFromRef;
[INFO] [stdout]    |
[INFO] [stdout] help: there is an associated function with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 75 |                 assert_eq!((1 as $typ), <$typ>::from_le(&mut buf));
[INFO] [stdout]    |                                                 ~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `set_be` found for array `[u8; 2]` in the current scope
[INFO] [stdout]   --> src/endian.rs:65:21
[INFO] [stdout]    |
[INFO] [stdout] 12 |     fn set_be(&mut self, val: T);
[INFO] [stdout]    |        ------ the method is available for `[u8; 2]` here
[INFO] [stdout] ...
[INFO] [stdout] 65 |                 buf.set_be(1 as $typ);
[INFO] [stdout]    |                     ^^^^^^ method not found in `[u8; 2]`
[INFO] [stdout] ...
[INFO] [stdout] 85 |     test_endian_traits!(i16, i16);
[INFO] [stdout]    |     ----------------------------- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout]    = note: this error originates in the macro `test_endian_traits` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stdout]    |
[INFO] [stdout] 56 +     use crate::endian::EndianSet;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `as_be` found for array `[u8; 2]` in the current scope
[INFO] [stdout]   --> src/endian.rs:67:45
[INFO] [stdout]    |
[INFO] [stdout] 2  |     fn as_be(&self) -> T;
[INFO] [stdout]    |        ----- the method is available for `[u8; 2]` here
[INFO] [stdout] ...
[INFO] [stdout] 67 |                 assert_eq!((1 as $typ), buf.as_be());
[INFO] [stdout]    |                                             ^^^^^ method not found in `[u8; 2]`
[INFO] [stdout] ...
[INFO] [stdout] 85 |     test_endian_traits!(i16, i16);
[INFO] [stdout]    |     ----------------------------- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout]    = note: this error originates in the macro `test_endian_traits` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stdout]    |
[INFO] [stdout] 56 +     use crate::endian::EndianAs;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `from_be_ref` found for type `i16` in the current scope
[INFO] [stdout]   --> src/endian.rs:68:49
[INFO] [stdout]    |
[INFO] [stdout] 68 |                 assert_eq!((1 as $typ), <$typ>::from_be_ref(&buf));
[INFO] [stdout]    |                                                 ^^^^^^^^^^^ function or associated item not found in `i16`
[INFO] [stdout] ...
[INFO] [stdout] 85 |     test_endian_traits!(i16, i16);
[INFO] [stdout]    |     ----------------------------- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout]    = note: this error originates in the macro `test_endian_traits` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stdout]    |
[INFO] [stdout] 56 +     use crate::endian::EndianFromRef;
[INFO] [stdout]    |
[INFO] [stdout] help: there is an associated function with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 68 |                 assert_eq!((1 as $typ), <$typ>::from_be(&buf));
[INFO] [stdout]    |                                                 ~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `from_be_ref` found for type `i16` in the current scope
[INFO] [stdout]   --> src/endian.rs:69:49
[INFO] [stdout]    |
[INFO] [stdout] 69 |                 assert_eq!((1 as $typ), <$typ>::from_be_ref(&mut buf));
[INFO] [stdout]    |                                                 ^^^^^^^^^^^ function or associated item not found in `i16`
[INFO] [stdout] ...
[INFO] [stdout] 85 |     test_endian_traits!(i16, i16);
[INFO] [stdout]    |     ----------------------------- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout]    = note: this error originates in the macro `test_endian_traits` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stdout]    |
[INFO] [stdout] 56 +     use crate::endian::EndianFromRef;
[INFO] [stdout]    |
[INFO] [stdout] help: there is an associated function with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 69 |                 assert_eq!((1 as $typ), <$typ>::from_be(&mut buf));
[INFO] [stdout]    |                                                 ~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `set_le` found for array `[u8; 2]` in the current scope
[INFO] [stdout]   --> src/endian.rs:71:21
[INFO] [stdout]    |
[INFO] [stdout] 13 |     fn set_le(&mut self, val: T);
[INFO] [stdout]    |        ------ the method is available for `[u8; 2]` here
[INFO] [stdout] ...
[INFO] [stdout] 71 |                 buf.set_le(1 as $typ);
[INFO] [stdout]    |                     ^^^^^^ method not found in `[u8; 2]`
[INFO] [stdout] ...
[INFO] [stdout] 85 |     test_endian_traits!(i16, i16);
[INFO] [stdout]    |     ----------------------------- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout]    = note: this error originates in the macro `test_endian_traits` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stdout]    |
[INFO] [stdout] 56 +     use crate::endian::EndianSet;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `as_le` found for array `[u8; 2]` in the current scope
[INFO] [stdout]   --> src/endian.rs:73:45
[INFO] [stdout]    |
[INFO] [stdout] 3  |     fn as_le(&self) -> T;
[INFO] [stdout]    |        ----- the method is available for `[u8; 2]` here
[INFO] [stdout] ...
[INFO] [stdout] 73 |                 assert_eq!((1 as $typ), buf.as_le());
[INFO] [stdout]    |                                             ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 85 |     test_endian_traits!(i16, i16);
[INFO] [stdout]    |     ----------------------------- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout]    = note: this error originates in the macro `test_endian_traits` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stdout]    |
[INFO] [stdout] 56 +     use crate::endian::EndianAs;
[INFO] [stdout]    |
[INFO] [stdout] help: there is a method with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 73 |                 assert_eq!((1 as $typ), buf.as_slice());
[INFO] [stdout]    |                                             ~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `from_le_ref` found for type `i16` in the current scope
[INFO] [stdout]   --> src/endian.rs:74:49
[INFO] [stdout]    |
[INFO] [stdout] 74 |                 assert_eq!((1 as $typ), <$typ>::from_le_ref(&buf));
[INFO] [stdout]    |                                                 ^^^^^^^^^^^ function or associated item not found in `i16`
[INFO] [stdout] ...
[INFO] [stdout] 85 |     test_endian_traits!(i16, i16);
[INFO] [stdout]    |     ----------------------------- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout]    = note: this error originates in the macro `test_endian_traits` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stdout]    |
[INFO] [stdout] 56 +     use crate::endian::EndianFromRef;
[INFO] [stdout]    |
[INFO] [stdout] help: there is an associated function with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 74 |                 assert_eq!((1 as $typ), <$typ>::from_le(&buf));
[INFO] [stdout]    |                                                 ~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `from_le_ref` found for type `i16` in the current scope
[INFO] [stdout]   --> src/endian.rs:75:49
[INFO] [stdout]    |
[INFO] [stdout] 75 |                 assert_eq!((1 as $typ), <$typ>::from_le_ref(&mut buf));
[INFO] [stdout]    |                                                 ^^^^^^^^^^^ function or associated item not found in `i16`
[INFO] [stdout] ...
[INFO] [stdout] 85 |     test_endian_traits!(i16, i16);
[INFO] [stdout]    |     ----------------------------- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout]    = note: this error originates in the macro `test_endian_traits` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stdout]    |
[INFO] [stdout] 56 +     use crate::endian::EndianFromRef;
[INFO] [stdout]    |
[INFO] [stdout] help: there is an associated function with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 75 |                 assert_eq!((1 as $typ), <$typ>::from_le(&mut buf));
[INFO] [stdout]    |                                                 ~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `set_be` found for array `[u8; 4]` in the current scope
[INFO] [stdout]   --> src/endian.rs:65:21
[INFO] [stdout]    |
[INFO] [stdout] 12 |     fn set_be(&mut self, val: T);
[INFO] [stdout]    |        ------ the method is available for `[u8; 4]` here
[INFO] [stdout] ...
[INFO] [stdout] 65 |                 buf.set_be(1 as $typ);
[INFO] [stdout]    |                     ^^^^^^ method not found in `[u8; 4]`
[INFO] [stdout] ...
[INFO] [stdout] 86 |     test_endian_traits!(i32, i32);
[INFO] [stdout]    |     ----------------------------- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout]    = note: this error originates in the macro `test_endian_traits` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stdout]    |
[INFO] [stdout] 56 +     use crate::endian::EndianSet;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `as_be` found for array `[u8; 4]` in the current scope
[INFO] [stdout]   --> src/endian.rs:67:45
[INFO] [stdout]    |
[INFO] [stdout] 2  |     fn as_be(&self) -> T;
[INFO] [stdout]    |        ----- the method is available for `[u8; 4]` here
[INFO] [stdout] ...
[INFO] [stdout] 67 |                 assert_eq!((1 as $typ), buf.as_be());
[INFO] [stdout]    |                                             ^^^^^ method not found in `[u8; 4]`
[INFO] [stdout] ...
[INFO] [stdout] 86 |     test_endian_traits!(i32, i32);
[INFO] [stdout]    |     ----------------------------- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout]    = note: this error originates in the macro `test_endian_traits` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stdout]    |
[INFO] [stdout] 56 +     use crate::endian::EndianAs;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `from_be_ref` found for type `i32` in the current scope
[INFO] [stdout]   --> src/endian.rs:68:49
[INFO] [stdout]    |
[INFO] [stdout] 68 |                 assert_eq!((1 as $typ), <$typ>::from_be_ref(&buf));
[INFO] [stdout]    |                                                 ^^^^^^^^^^^ function or associated item not found in `i32`
[INFO] [stdout] ...
[INFO] [stdout] 86 |     test_endian_traits!(i32, i32);
[INFO] [stdout]    |     ----------------------------- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout]    = note: this error originates in the macro `test_endian_traits` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stdout]    |
[INFO] [stdout] 56 +     use crate::endian::EndianFromRef;
[INFO] [stdout]    |
[INFO] [stdout] help: there is an associated function with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 68 |                 assert_eq!((1 as $typ), <$typ>::from_be(&buf));
[INFO] [stdout]    |                                                 ~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `from_be_ref` found for type `i32` in the current scope
[INFO] [stdout]   --> src/endian.rs:69:49
[INFO] [stdout]    |
[INFO] [stdout] 69 |                 assert_eq!((1 as $typ), <$typ>::from_be_ref(&mut buf));
[INFO] [stdout]    |                                                 ^^^^^^^^^^^ function or associated item not found in `i32`
[INFO] [stdout] ...
[INFO] [stdout] 86 |     test_endian_traits!(i32, i32);
[INFO] [stdout]    |     ----------------------------- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout]    = note: this error originates in the macro `test_endian_traits` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stdout]    |
[INFO] [stdout] 56 +     use crate::endian::EndianFromRef;
[INFO] [stdout]    |
[INFO] [stdout] help: there is an associated function with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 69 |                 assert_eq!((1 as $typ), <$typ>::from_be(&mut buf));
[INFO] [stdout]    |                                                 ~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `set_le` found for array `[u8; 4]` in the current scope
[INFO] [stdout]   --> src/endian.rs:71:21
[INFO] [stdout]    |
[INFO] [stdout] 13 |     fn set_le(&mut self, val: T);
[INFO] [stdout]    |        ------ the method is available for `[u8; 4]` here
[INFO] [stdout] ...
[INFO] [stdout] 71 |                 buf.set_le(1 as $typ);
[INFO] [stdout]    |                     ^^^^^^ method not found in `[u8; 4]`
[INFO] [stdout] ...
[INFO] [stdout] 86 |     test_endian_traits!(i32, i32);
[INFO] [stdout]    |     ----------------------------- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout]    = note: this error originates in the macro `test_endian_traits` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stdout]    |
[INFO] [stdout] 56 +     use crate::endian::EndianSet;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `as_le` found for array `[u8; 4]` in the current scope
[INFO] [stdout]   --> src/endian.rs:73:45
[INFO] [stdout]    |
[INFO] [stdout] 3  |     fn as_le(&self) -> T;
[INFO] [stdout]    |        ----- the method is available for `[u8; 4]` here
[INFO] [stdout] ...
[INFO] [stdout] 73 |                 assert_eq!((1 as $typ), buf.as_le());
[INFO] [stdout]    |                                             ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 86 |     test_endian_traits!(i32, i32);
[INFO] [stdout]    |     ----------------------------- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout]    = note: this error originates in the macro `test_endian_traits` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stdout]    |
[INFO] [stdout] 56 +     use crate::endian::EndianAs;
[INFO] [stdout]    |
[INFO] [stdout] help: there is a method with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 73 |                 assert_eq!((1 as $typ), buf.as_slice());
[INFO] [stdout]    |                                             ~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `from_le_ref` found for type `i32` in the current scope
[INFO] [stdout]   --> src/endian.rs:74:49
[INFO] [stdout]    |
[INFO] [stdout] 74 |                 assert_eq!((1 as $typ), <$typ>::from_le_ref(&buf));
[INFO] [stdout]    |                                                 ^^^^^^^^^^^ function or associated item not found in `i32`
[INFO] [stdout] ...
[INFO] [stdout] 86 |     test_endian_traits!(i32, i32);
[INFO] [stdout]    |     ----------------------------- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout]    = note: this error originates in the macro `test_endian_traits` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stdout]    |
[INFO] [stdout] 56 +     use crate::endian::EndianFromRef;
[INFO] [stdout]    |
[INFO] [stdout] help: there is an associated function with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 74 |                 assert_eq!((1 as $typ), <$typ>::from_le(&buf));
[INFO] [stdout]    |                                                 ~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `from_le_ref` found for type `i32` in the current scope
[INFO] [stdout]   --> src/endian.rs:75:49
[INFO] [stdout]    |
[INFO] [stdout] 75 |                 assert_eq!((1 as $typ), <$typ>::from_le_ref(&mut buf));
[INFO] [stdout]    |                                                 ^^^^^^^^^^^ function or associated item not found in `i32`
[INFO] [stdout] ...
[INFO] [stdout] 86 |     test_endian_traits!(i32, i32);
[INFO] [stdout]    |     ----------------------------- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout]    = note: this error originates in the macro `test_endian_traits` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stdout]    |
[INFO] [stdout] 56 +     use crate::endian::EndianFromRef;
[INFO] [stdout]    |
[INFO] [stdout] help: there is an associated function with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 75 |                 assert_eq!((1 as $typ), <$typ>::from_le(&mut buf));
[INFO] [stdout]    |                                                 ~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `set_be` found for array `[u8; 8]` in the current scope
[INFO] [stdout]   --> src/endian.rs:65:21
[INFO] [stdout]    |
[INFO] [stdout] 12 |     fn set_be(&mut self, val: T);
[INFO] [stdout]    |        ------ the method is available for `[u8; 8]` here
[INFO] [stdout] ...
[INFO] [stdout] 65 |                 buf.set_be(1 as $typ);
[INFO] [stdout]    |                     ^^^^^^ method not found in `[u8; 8]`
[INFO] [stdout] ...
[INFO] [stdout] 87 |     test_endian_traits!(i64, i64);
[INFO] [stdout]    |     ----------------------------- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout]    = note: this error originates in the macro `test_endian_traits` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stdout]    |
[INFO] [stdout] 56 +     use crate::endian::EndianSet;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `as_be` found for array `[u8; 8]` in the current scope
[INFO] [stdout]   --> src/endian.rs:67:45
[INFO] [stdout]    |
[INFO] [stdout] 2  |     fn as_be(&self) -> T;
[INFO] [stdout]    |        ----- the method is available for `[u8; 8]` here
[INFO] [stdout] ...
[INFO] [stdout] 67 |                 assert_eq!((1 as $typ), buf.as_be());
[INFO] [stdout]    |                                             ^^^^^ method not found in `[u8; 8]`
[INFO] [stdout] ...
[INFO] [stdout] 87 |     test_endian_traits!(i64, i64);
[INFO] [stdout]    |     ----------------------------- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout]    = note: this error originates in the macro `test_endian_traits` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stdout]    |
[INFO] [stdout] 56 +     use crate::endian::EndianAs;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `from_be_ref` found for type `i64` in the current scope
[INFO] [stdout]   --> src/endian.rs:68:49
[INFO] [stdout]    |
[INFO] [stdout] 68 |                 assert_eq!((1 as $typ), <$typ>::from_be_ref(&buf));
[INFO] [stdout]    |                                                 ^^^^^^^^^^^ function or associated item not found in `i64`
[INFO] [stdout] ...
[INFO] [stdout] 87 |     test_endian_traits!(i64, i64);
[INFO] [stdout]    |     ----------------------------- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout]    = note: this error originates in the macro `test_endian_traits` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stdout]    |
[INFO] [stdout] 56 +     use crate::endian::EndianFromRef;
[INFO] [stdout]    |
[INFO] [stdout] help: there is an associated function with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 68 |                 assert_eq!((1 as $typ), <$typ>::from_be(&buf));
[INFO] [stdout]    |                                                 ~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `from_be_ref` found for type `i64` in the current scope
[INFO] [stdout]   --> src/endian.rs:69:49
[INFO] [stdout]    |
[INFO] [stdout] 69 |                 assert_eq!((1 as $typ), <$typ>::from_be_ref(&mut buf));
[INFO] [stdout]    |                                                 ^^^^^^^^^^^ function or associated item not found in `i64`
[INFO] [stdout] ...
[INFO] [stdout] 87 |     test_endian_traits!(i64, i64);
[INFO] [stdout]    |     ----------------------------- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout]    = note: this error originates in the macro `test_endian_traits` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stdout]    |
[INFO] [stdout] 56 +     use crate::endian::EndianFromRef;
[INFO] [stdout]    |
[INFO] [stdout] help: there is an associated function with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 69 |                 assert_eq!((1 as $typ), <$typ>::from_be(&mut buf));
[INFO] [stdout]    |                                                 ~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `set_le` found for array `[u8; 8]` in the current scope
[INFO] [stdout]   --> src/endian.rs:71:21
[INFO] [stdout]    |
[INFO] [stdout] 13 |     fn set_le(&mut self, val: T);
[INFO] [stdout]    |        ------ the method is available for `[u8; 8]` here
[INFO] [stdout] ...
[INFO] [stdout] 71 |                 buf.set_le(1 as $typ);
[INFO] [stdout]    |                     ^^^^^^ method not found in `[u8; 8]`
[INFO] [stdout] ...
[INFO] [stdout] 87 |     test_endian_traits!(i64, i64);
[INFO] [stdout]    |     ----------------------------- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout]    = note: this error originates in the macro `test_endian_traits` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stdout]    |
[INFO] [stdout] 56 +     use crate::endian::EndianSet;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `as_le` found for array `[u8; 8]` in the current scope
[INFO] [stdout]   --> src/endian.rs:73:45
[INFO] [stdout]    |
[INFO] [stdout] 3  |     fn as_le(&self) -> T;
[INFO] [stdout]    |        ----- the method is available for `[u8; 8]` here
[INFO] [stdout] ...
[INFO] [stdout] 73 |                 assert_eq!((1 as $typ), buf.as_le());
[INFO] [stdout]    |                                             ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 87 |     test_endian_traits!(i64, i64);
[INFO] [stdout]    |     ----------------------------- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout]    = note: this error originates in the macro `test_endian_traits` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stdout]    |
[INFO] [stdout] 56 +     use crate::endian::EndianAs;
[INFO] [stdout]    |
[INFO] [stdout] help: there is a method with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 73 |                 assert_eq!((1 as $typ), buf.as_slice());
[INFO] [stdout]    |                                             ~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `from_le_ref` found for type `i64` in the current scope
[INFO] [stdout]   --> src/endian.rs:74:49
[INFO] [stdout]    |
[INFO] [stdout] 74 |                 assert_eq!((1 as $typ), <$typ>::from_le_ref(&buf));
[INFO] [stdout]    |                                                 ^^^^^^^^^^^ function or associated item not found in `i64`
[INFO] [stdout] ...
[INFO] [stdout] 87 |     test_endian_traits!(i64, i64);
[INFO] [stdout]    |     ----------------------------- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout]    = note: this error originates in the macro `test_endian_traits` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stdout]    |
[INFO] [stdout] 56 +     use crate::endian::EndianFromRef;
[INFO] [stdout]    |
[INFO] [stdout] help: there is an associated function with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 74 |                 assert_eq!((1 as $typ), <$typ>::from_le(&buf));
[INFO] [stdout]    |                                                 ~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `from_le_ref` found for type `i64` in the current scope
[INFO] [stdout]   --> src/endian.rs:75:49
[INFO] [stdout]    |
[INFO] [stdout] 75 |                 assert_eq!((1 as $typ), <$typ>::from_le_ref(&mut buf));
[INFO] [stdout]    |                                                 ^^^^^^^^^^^ function or associated item not found in `i64`
[INFO] [stdout] ...
[INFO] [stdout] 87 |     test_endian_traits!(i64, i64);
[INFO] [stdout]    |     ----------------------------- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout]    = note: this error originates in the macro `test_endian_traits` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stdout]    |
[INFO] [stdout] 56 +     use crate::endian::EndianFromRef;
[INFO] [stdout]    |
[INFO] [stdout] help: there is an associated function with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 75 |                 assert_eq!((1 as $typ), <$typ>::from_le(&mut buf));
[INFO] [stdout]    |                                                 ~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `set_be` found for array `[u8; 16]` in the current scope
[INFO] [stdout]   --> src/endian.rs:65:21
[INFO] [stdout]    |
[INFO] [stdout] 12 |     fn set_be(&mut self, val: T);
[INFO] [stdout]    |        ------ the method is available for `[u8; 16]` here
[INFO] [stdout] ...
[INFO] [stdout] 65 |                 buf.set_be(1 as $typ);
[INFO] [stdout]    |                     ^^^^^^ method not found in `[u8; 16]`
[INFO] [stdout] ...
[INFO] [stdout] 88 |     test_endian_traits!(i128, i128);
[INFO] [stdout]    |     ------------------------------- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout]    = note: this error originates in the macro `test_endian_traits` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stdout]    |
[INFO] [stdout] 56 +     use crate::endian::EndianSet;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `as_be` found for array `[u8; 16]` in the current scope
[INFO] [stdout]   --> src/endian.rs:67:45
[INFO] [stdout]    |
[INFO] [stdout] 2  |     fn as_be(&self) -> T;
[INFO] [stdout]    |        ----- the method is available for `[u8; 16]` here
[INFO] [stdout] ...
[INFO] [stdout] 67 |                 assert_eq!((1 as $typ), buf.as_be());
[INFO] [stdout]    |                                             ^^^^^ method not found in `[u8; 16]`
[INFO] [stdout] ...
[INFO] [stdout] 88 |     test_endian_traits!(i128, i128);
[INFO] [stdout]    |     ------------------------------- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout]    = note: this error originates in the macro `test_endian_traits` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stdout]    |
[INFO] [stdout] 56 +     use crate::endian::EndianAs;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `from_be_ref` found for type `i128` in the current scope
[INFO] [stdout]   --> src/endian.rs:68:49
[INFO] [stdout]    |
[INFO] [stdout] 68 |                 assert_eq!((1 as $typ), <$typ>::from_be_ref(&buf));
[INFO] [stdout]    |                                                 ^^^^^^^^^^^ function or associated item not found in `i128`
[INFO] [stdout] ...
[INFO] [stdout] 88 |     test_endian_traits!(i128, i128);
[INFO] [stdout]    |     ------------------------------- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout]    = note: this error originates in the macro `test_endian_traits` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stdout]    |
[INFO] [stdout] 56 +     use crate::endian::EndianFromRef;
[INFO] [stdout]    |
[INFO] [stdout] help: there is an associated function with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 68 |                 assert_eq!((1 as $typ), <$typ>::from_be(&buf));
[INFO] [stdout]    |                                                 ~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `from_be_ref` found for type `i128` in the current scope
[INFO] [stdout]   --> src/endian.rs:69:49
[INFO] [stdout]    |
[INFO] [stdout] 69 |                 assert_eq!((1 as $typ), <$typ>::from_be_ref(&mut buf));
[INFO] [stdout]    |                                                 ^^^^^^^^^^^ function or associated item not found in `i128`
[INFO] [stdout] ...
[INFO] [stdout] 88 |     test_endian_traits!(i128, i128);
[INFO] [stdout]    |     ------------------------------- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout]    = note: this error originates in the macro `test_endian_traits` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stdout]    |
[INFO] [stdout] 56 +     use crate::endian::EndianFromRef;
[INFO] [stdout]    |
[INFO] [stdout] help: there is an associated function with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 69 |                 assert_eq!((1 as $typ), <$typ>::from_be(&mut buf));
[INFO] [stdout]    |                                                 ~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `set_le` found for array `[u8; 16]` in the current scope
[INFO] [stdout]   --> src/endian.rs:71:21
[INFO] [stdout]    |
[INFO] [stdout] 13 |     fn set_le(&mut self, val: T);
[INFO] [stdout]    |        ------ the method is available for `[u8; 16]` here
[INFO] [stdout] ...
[INFO] [stdout] 71 |                 buf.set_le(1 as $typ);
[INFO] [stdout]    |                     ^^^^^^ method not found in `[u8; 16]`
[INFO] [stdout] ...
[INFO] [stdout] 88 |     test_endian_traits!(i128, i128);
[INFO] [stdout]    |     ------------------------------- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout]    = note: this error originates in the macro `test_endian_traits` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stdout]    |
[INFO] [stdout] 56 +     use crate::endian::EndianSet;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `as_le` found for array `[u8; 16]` in the current scope
[INFO] [stdout]   --> src/endian.rs:73:45
[INFO] [stdout]    |
[INFO] [stdout] 3  |     fn as_le(&self) -> T;
[INFO] [stdout]    |        ----- the method is available for `[u8; 16]` here
[INFO] [stdout] ...
[INFO] [stdout] 73 |                 assert_eq!((1 as $typ), buf.as_le());
[INFO] [stdout]    |                                             ^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 88 |     test_endian_traits!(i128, i128);
[INFO] [stdout]    |     ------------------------------- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout]    = note: this error originates in the macro `test_endian_traits` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stdout]    |
[INFO] [stdout] 56 +     use crate::endian::EndianAs;
[INFO] [stdout]    |
[INFO] [stdout] help: there is a method with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 73 |                 assert_eq!((1 as $typ), buf.as_slice());
[INFO] [stdout]    |                                             ~~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `from_le_ref` found for type `i128` in the current scope
[INFO] [stdout]   --> src/endian.rs:74:49
[INFO] [stdout]    |
[INFO] [stdout] 74 |                 assert_eq!((1 as $typ), <$typ>::from_le_ref(&buf));
[INFO] [stdout]    |                                                 ^^^^^^^^^^^ function or associated item not found in `i128`
[INFO] [stdout] ...
[INFO] [stdout] 88 |     test_endian_traits!(i128, i128);
[INFO] [stdout]    |     ------------------------------- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout]    = note: this error originates in the macro `test_endian_traits` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stdout]    |
[INFO] [stdout] 56 +     use crate::endian::EndianFromRef;
[INFO] [stdout]    |
[INFO] [stdout] help: there is an associated function with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 74 |                 assert_eq!((1 as $typ), <$typ>::from_le(&buf));
[INFO] [stdout]    |                                                 ~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `from_le_ref` found for type `i128` in the current scope
[INFO] [stdout]   --> src/endian.rs:75:49
[INFO] [stdout]    |
[INFO] [stdout] 75 |                 assert_eq!((1 as $typ), <$typ>::from_le_ref(&mut buf));
[INFO] [stdout]    |                                                 ^^^^^^^^^^^ function or associated item not found in `i128`
[INFO] [stdout] ...
[INFO] [stdout] 88 |     test_endian_traits!(i128, i128);
[INFO] [stdout]    |     ------------------------------- in this macro invocation
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout]    = note: this error originates in the macro `test_endian_traits` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stdout]    |
[INFO] [stdout] 56 +     use crate::endian::EndianFromRef;
[INFO] [stdout]    |
[INFO] [stdout] help: there is an associated function with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 75 |                 assert_eq!((1 as $typ), <$typ>::from_le(&mut buf));
[INFO] [stdout]    |                                                 ~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `from_arr` found for struct `BufRef` in the current scope
[INFO] [stdout]   --> src/from_arr.rs:42:25
[INFO] [stdout]    |
[INFO] [stdout] 29 |         struct BufRef<'a> {
[INFO] [stdout]    |         ----------------- function or associated item `from_arr` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 42 |         let _ = BufRef::from_arr(&[0u8; 2]);
[INFO] [stdout]    |                         ^^^^^^^^ function or associated item not found in `BufRef<'_>`
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stdout]    |
[INFO] [stdout] 25 +     use crate::from_arr::FromArr;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `from_arr_mut` found for struct `BufRefMut` in the current scope
[INFO] [stdout]   --> src/from_arr.rs:58:28
[INFO] [stdout]    |
[INFO] [stdout] 44 |         struct BufRefMut<'a> {
[INFO] [stdout]    |         -------------------- function or associated item `from_arr_mut` not found for this struct
[INFO] [stdout] ...
[INFO] [stdout] 58 |         let _ = BufRefMut::from_arr_mut(&mut buf);
[INFO] [stdout]    |                            ^^^^^^^^^^^^ function or associated item not found in `BufRefMut<'_>`
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stdout]    |
[INFO] [stdout] 25 +     use crate::from_arr::FromArrMut;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `from_ref` found for type `u16` in the current scope
[INFO] [stdout]   --> src/from_ref.rs:36:14
[INFO] [stdout]    |
[INFO] [stdout] 36 |         u16::from_ref(&a);
[INFO] [stdout]    |              ^^^^^^^^ function or associated item not found in `u16`
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stdout]    |
[INFO] [stdout] 27 +     use crate::from_ref::FromRef;
[INFO] [stdout]    |
[INFO] [stdout] help: there is an associated function with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 36 |         u16::from_be(&a);
[INFO] [stdout]    |              ~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `from_ref` found for type `u16` in the current scope
[INFO] [stdout]   --> src/from_ref.rs:40:14
[INFO] [stdout]    |
[INFO] [stdout] 40 |         u16::from_ref(&mut a);
[INFO] [stdout]    |              ^^^^^^^^ function or associated item not found in `u16`
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stdout]    |
[INFO] [stdout] 27 +     use crate::from_ref::FromRef;
[INFO] [stdout]    |
[INFO] [stdout] help: there is an associated function with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 40 |         u16::from_be(&mut a);
[INFO] [stdout]    |              ~~~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `splice` found for array `[u8; 2]` in the current scope
[INFO] [stdout]   --> src/splice.rs:30:32
[INFO] [stdout]    |
[INFO] [stdout] 2  |     fn splice<const N: usize>(&self) -> Option<(&[T; N], &[T])>;
[INFO] [stdout]    |        ------ the method is available for `[u8; 2]` here
[INFO] [stdout] ...
[INFO] [stdout] 30 |         let (head, tail) = buf.splice::<0>().unwrap();
[INFO] [stdout]    |                                ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stdout]    |
[INFO] [stdout] 24 +     use crate::splice::Splice;
[INFO] [stdout]    |
[INFO] [stdout] help: there is a method with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 30 |         let (head, tail) = buf.split::<0>().unwrap();
[INFO] [stdout]    |                                ~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `splice` found for array `[u8; 2]` in the current scope
[INFO] [stdout]   --> src/splice.rs:34:32
[INFO] [stdout]    |
[INFO] [stdout] 2  |     fn splice<const N: usize>(&self) -> Option<(&[T; N], &[T])>;
[INFO] [stdout]    |        ------ the method is available for `[u8; 2]` here
[INFO] [stdout] ...
[INFO] [stdout] 34 |         let (head, tail) = buf.splice::<2>().unwrap();
[INFO] [stdout]    |                                ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stdout]    |
[INFO] [stdout] 24 +     use crate::splice::Splice;
[INFO] [stdout]    |
[INFO] [stdout] help: there is a method with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 34 |         let (head, tail) = buf.split::<2>().unwrap();
[INFO] [stdout]    |                                ~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `splice` found for array `[u8; 2]` in the current scope
[INFO] [stdout]   --> src/splice.rs:38:21
[INFO] [stdout]    |
[INFO] [stdout] 2  |     fn splice<const N: usize>(&self) -> Option<(&[T; N], &[T])>;
[INFO] [stdout]    |        ------ the method is available for `[u8; 2]` here
[INFO] [stdout] ...
[INFO] [stdout] 38 |         let x = buf.splice::<4>();
[INFO] [stdout]    |                     ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stdout]    |
[INFO] [stdout] 24 +     use crate::splice::Splice;
[INFO] [stdout]    |
[INFO] [stdout] help: there is a method with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 38 |         let x = buf.split::<4>();
[INFO] [stdout]    |                     ~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `splice_mut` found for array `[u8; 2]` in the current scope
[INFO] [stdout]   --> src/splice.rs:41:32
[INFO] [stdout]    |
[INFO] [stdout] 3  |     fn splice_mut<const N: usize>(&mut self) -> Option<(&mut [T; N], &mut [T])>;
[INFO] [stdout]    |        ---------- the method is available for `[u8; 2]` here
[INFO] [stdout] ...
[INFO] [stdout] 41 |         let (head, tail) = buf.splice_mut::<0>().unwrap();
[INFO] [stdout]    |                                ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stdout]    |
[INFO] [stdout] 24 +     use crate::splice::Splice;
[INFO] [stdout]    |
[INFO] [stdout] help: there is a method with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 41 |         let (head, tail) = buf.split::<0>().unwrap();
[INFO] [stdout]    |                                ~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `splice_mut` found for array `[u8; 2]` in the current scope
[INFO] [stdout]   --> src/splice.rs:45:32
[INFO] [stdout]    |
[INFO] [stdout] 3  |     fn splice_mut<const N: usize>(&mut self) -> Option<(&mut [T; N], &mut [T])>;
[INFO] [stdout]    |        ---------- the method is available for `[u8; 2]` here
[INFO] [stdout] ...
[INFO] [stdout] 45 |         let (head, tail) = buf.splice_mut::<2>().unwrap();
[INFO] [stdout]    |                                ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stdout]    |
[INFO] [stdout] 24 +     use crate::splice::Splice;
[INFO] [stdout]    |
[INFO] [stdout] help: there is a method with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 45 |         let (head, tail) = buf.split::<2>().unwrap();
[INFO] [stdout]    |                                ~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `splice_mut` found for array `[u8; 2]` in the current scope
[INFO] [stdout]   --> src/splice.rs:49:21
[INFO] [stdout]    |
[INFO] [stdout] 3  |     fn splice_mut<const N: usize>(&mut self) -> Option<(&mut [T; N], &mut [T])>;
[INFO] [stdout]    |        ---------- the method is available for `[u8; 2]` here
[INFO] [stdout] ...
[INFO] [stdout] 49 |         let x = buf.splice_mut::<4>();
[INFO] [stdout]    |                     ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: items from traits can only be used if the trait is in scope
[INFO] [stdout] help: the following trait is implemented but not in scope; perhaps add a `use` for it:
[INFO] [stdout]    |
[INFO] [stdout] 24 +     use crate::splice::Splice;
[INFO] [stdout]    |
[INFO] [stdout] help: there is a method with a similar name
[INFO] [stdout]    |
[INFO] [stdout] 49 |         let x = buf.split::<4>();
[INFO] [stdout]    |                     ~~~~~
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 91 previous errors; 8 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0599`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `r-ex` (lib test) due to 92 previous errors; 8 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "31f040317d78efcd399e5b5e697ef1b310f66a377b2e841487bc59c6cbe75e95", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "31f040317d78efcd399e5b5e697ef1b310f66a377b2e841487bc59c6cbe75e95", kill_on_drop: false }`
[INFO] [stdout] 31f040317d78efcd399e5b5e697ef1b310f66a377b2e841487bc59c6cbe75e95
